artofillusion
Class ObjectTextureDialog

java.lang.Object
  extended by buoy.event.EventSource
      extended by buoy.widget.Widget
          extended by buoy.widget.WidgetContainer
              extended by buoy.widget.WindowWidget
                  extended by buoy.widget.BDialog
                      extended by artofillusion.ObjectTextureDialog
All Implemented Interfaces:
ListChangeListener

public class ObjectTextureDialog
extends buoy.widget.BDialog
implements ListChangeListener

This class implements the dialog box which is used to choose textures for objects. It presents a list of all available textures from which the user can select one. If only one object is being editing, it also allows the user to edit the texture mapping for that object.


Constructor Summary
ObjectTextureDialog(LayoutWindow parent, ObjectInfo[] objects)
           
 
Method Summary
 void dispose()
           
 void itemAdded(int index, java.lang.Object obj)
           
 void itemChanged(int index, java.lang.Object obj)
           
 void itemRemoved(int index, java.lang.Object obj)
           
 void setCallback(java.lang.Runnable cb)
          Set a callback to be executed when the window is closed.
 
Methods inherited from class buoy.widget.BDialog
getChildCount, getChildren, getComponent, getMenuBar, getTitle, isModal, isResizable, pack, remove, removeAll, setMenuBar, setModal, setResizable, setTitle
 
Methods inherited from class buoy.widget.WindowWidget
getContent, getDefaultButton, isVisible, layoutChildren, setBounds, setContent, setDefaultButton, setVisible, toBack, toFront
 
Methods inherited from class buoy.widget.WidgetContainer
isOpaque, setOpaque
 
Methods inherited from class buoy.widget.Widget
addEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName
 
Methods inherited from class buoy.event.EventSource
addEventLink, addEventLink, removeEventLink
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectTextureDialog

public ObjectTextureDialog(LayoutWindow parent,
                           ObjectInfo[] objects)
Method Detail

dispose

public void dispose()
Overrides:
dispose in class buoy.widget.WindowWidget

setCallback

public void setCallback(java.lang.Runnable cb)
Set a callback to be executed when the window is closed.


itemAdded

public void itemAdded(int index,
                      java.lang.Object obj)
Specified by:
itemAdded in interface ListChangeListener

itemRemoved

public void itemRemoved(int index,
                        java.lang.Object obj)
Specified by:
itemRemoved in interface ListChangeListener

itemChanged

public void itemChanged(int index,
                        java.lang.Object obj)
Specified by:
itemChanged in interface ListChangeListener


Copyright © 1999-2008 by Peter Eastman.