artofillusion.animation
Class ObjectRefSelector

java.lang.Object
  extended by buoy.event.EventSource
      extended by buoy.widget.Widget
          extended by buoy.widget.WidgetContainer
              extended by buoy.widget.RowContainer
                  extended by artofillusion.animation.ObjectRefSelector

public class ObjectRefSelector
extends buoy.widget.RowContainer

This is a user interface component for selecting an object or a joint in an object.


Constructor Summary
ObjectRefSelector(ObjectRef obj, LayoutWindow win, java.lang.String prompt, ObjectInfo exclude)
          Create a new selector.
 
Method Summary
 ObjectRef getSelection()
          Get the selected ObjectRef.
 void setEnabled(boolean enable)
          Set whether this component is enabled.
 
Methods inherited from class buoy.widget.RowContainer
add, add, add, getChild, getChildCount, getChildIndex, getChildLayout, getChildLayout, getChildren, getComponent, getDefaultLayout, getMinimumSize, getPreferredSize, layoutChildren, remove, remove, removeAll, setChildLayout, setChildLayout, setDefaultLayout
 
Methods inherited from class buoy.widget.WidgetContainer
isOpaque, setOpaque
 
Methods inherited from class buoy.widget.Widget
addEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getName, getParent, hasFocus, isEnabled, isFocusable, isVisible, repaint, requestFocus, setBackground, setCursor, setFocusable, setFont, setName, setVisible
 
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

ObjectRefSelector

public ObjectRefSelector(ObjectRef obj,
                         LayoutWindow win,
                         java.lang.String prompt,
                         ObjectInfo exclude)
Create a new selector. obj specifies the initially selected object reference. win specifies the window in which the scene is being edited. prompt is the string which will be used for prompting the user to select a new object. exclude (which may be null) indicates an object which may not be selected.

Method Detail

getSelection

public ObjectRef getSelection()
Get the selected ObjectRef.


setEnabled

public void setEnabled(boolean enable)
Set whether this component is enabled.

Overrides:
setEnabled in class buoy.widget.Widget


Copyright © 1999-2008 by Peter Eastman.