shout3d.core
Class Bindable

java.lang.Object
  |
  +--shout3d.core.Node
        |
        +--shout3d.core.Bindable
Direct Known Subclasses:
Background, NavigationInfo, Viewpoint

public abstract class Bindable
extends Node
implements FieldObserver

Abstract base class for all Bindable nodes.


Field Summary
 BooleanField isBound
           
 
Constructor Summary
Bindable()
          Constructs a default Bindable
Bindable(Shout3DViewer viewer)
          Constructor that takes a viewer as input.
 
Method Summary
 void onFieldChange(Field theField, java.lang.Object userData)
          Subclasses must call this from within their own onFieldChange() method.
 
Methods inherited from class shout3d.core.Node
cleanUp, getDEFName, getField, getFieldByIndex, getFieldName, getNumFields, getTypeName, getViewer, isOfType, setDEFName, setViewer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isBound

public final BooleanField isBound
Constructor Detail

Bindable

public Bindable()
Constructs a default Bindable

Bindable

public Bindable(Shout3DViewer viewer)
Constructor that takes a viewer as input.
Parameters:
viewer - the viewer in which this bindable resides.
Method Detail

onFieldChange

public void onFieldChange(Field theField,
                          java.lang.Object userData)
Subclasses must call this from within their own onFieldChange() method.
Specified by:
onFieldChange in interface FieldObserver