artofillusion
Class ObjectTextureDialog

java.lang.Object
  extended by BDialog
      extended by artofillusion.ObjectTextureDialog
All Implemented Interfaces:
ListChangeListener

public class ObjectTextureDialog
extends 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)
           
ObjectTextureDialog(LayoutWindow parent, ObjectInfo[] objects, boolean includeTextures, boolean includeMaterials)
           
 
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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectTextureDialog

public ObjectTextureDialog(LayoutWindow parent,
                           ObjectInfo[] objects)

ObjectTextureDialog

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

dispose

public void dispose()

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-2011 by Peter Eastman.