artofillusion
Class MaterialsDialog

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.MaterialsDialog
All Implemented Interfaces:
ListChangeListener

public class MaterialsDialog
extends buoy.widget.BDialog
implements ListChangeListener

MaterialsDialog is a dialog box for editing the list of Materials used in a scene.


Constructor Summary
MaterialsDialog(buoy.widget.BFrame fr, Scene sc)
           
 
Method Summary
 void dispose()
           
 void itemAdded(int index, java.lang.Object obj)
          Add a material to the list.
 void itemChanged(int index, java.lang.Object obj)
          Change the name of a material in the list.
 void itemRemoved(int index, java.lang.Object obj)
          Remove a material from the list.
static Material showNewMaterialWindow(buoy.widget.WindowWidget parent, Scene theScene)
          Display a window in which the user can create a new material.
 
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

MaterialsDialog

public MaterialsDialog(buoy.widget.BFrame fr,
                       Scene sc)
Method Detail

dispose

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

itemAdded

public void itemAdded(int index,
                      java.lang.Object obj)
Add a material to the list.

Specified by:
itemAdded in interface ListChangeListener

itemRemoved

public void itemRemoved(int index,
                        java.lang.Object obj)
Remove a material from the list.

Specified by:
itemRemoved in interface ListChangeListener

itemChanged

public void itemChanged(int index,
                        java.lang.Object obj)
Change the name of a material in the list.

Specified by:
itemChanged in interface ListChangeListener

showNewMaterialWindow

public static Material showNewMaterialWindow(buoy.widget.WindowWidget parent,
                                             Scene theScene)
Display a window in which the user can create a new material.



Copyright © 1999-2008 by Peter Eastman.