shout3d.core
Interface FieldObserver
- All Known Implementing Classes:
- Bindable, JSFieldObserver, PointSet, Switch, Viewpoint, OrientationInterpolator, IndexedFaceSet, IndexedLineSet, ImageTexture, Appearance, Transform, JavaSound
- public abstract interface FieldObserver
An interface which implements a callback when a field changes value
Method Summary |
void |
onFieldChange(Field theField,
java.lang.Object userData)
This method should be called when the field's value changes. |
onFieldChange
public void onFieldChange(Field theField,
java.lang.Object userData)
- This method should be called when the field's value changes.
The userData is the same data that was passed from this
FieldObserver to the observed field in field.addFieldObserver(this,userData)
- Parameters:
field
- the field being observeduserData
- data used by this FieldObserver