artofillusion.animation
Class ObjectRefSelector

java.lang.Object
  extended by RowContainer
      extended by artofillusion.animation.ObjectRefSelector

public class ObjectRefSelector
extends 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 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.



Copyright © 1999-2011 by Peter Eastman.