|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Indicates that a node can be bound within the scenegraph to make it the active item.
These nodes obey the binding stack properties of the VRML spec. The interface does not allow for dynamic feedback of how the binding is notified to the user interface because it is assumed that the renderer implementor will have their own ideas on the best way to do this.
| Method Summary | |
void |
addBindableNodeListener(VRMLBindableNodeListener l)
Add a listener for activable events. |
double |
getBindTime()
Get the time of the last bound state change. |
boolean |
getIsBound()
Get the current isBound state of the node. |
void |
removeBindableNodeListener(VRMLBindableNodeListener l)
Remove a listener for geometry changed events. |
void |
setBind(boolean enable,
boolean notify,
double time)
Set the bind field of this node. |
void |
setOnStack(boolean onStack)
Notify the bindable node that it is on the stack, or not on the stack, as the case may be and that it should send bind events as appropriate |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType |
addNodeListener, getFieldValue, getMetadataObject, getRefCount, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount |
| Methods inherited from interface org.web3d.vrml.lang.VRMLNode |
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion |
| Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener |
allEventsComplete |
| Method Detail |
public void addBindableNodeListener(VRMLBindableNodeListener l)
l - The listener to addpublic void removeBindableNodeListener(VRMLBindableNodeListener l)
l - The listener to removepublic void setOnStack(boolean onStack)
onStack - true if this node is now on the stack
public void setBind(boolean enable,
boolean notify,
double time)
enable - True if this node is to be boundnotify - true if this should notify the listenerstime - The time that this was sentpublic boolean getIsBound()
public double getBindTime()
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||