Interface X3DBindableNode
- All Superinterfaces:
X3DChildNode,X3DNode
- All Known Subinterfaces:
Background,Fog,GeoViewpoint,NavigationInfo,OrthoViewpoint,TextureBackground,Viewpoint,X3DBackgroundNode,X3DViewpointNode
- All Known Implementing Classes:
Background,Fog,GeoViewpoint,NavigationInfo,OrthoViewpoint,TextureBackground,Viewpoint
Bindable nodes implement the binding stack, so that only one of each node type is active at a given time.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondoubleProvide double value in seconds from outputOnly SFTime field named bindTime.booleanProvide boolean value from outputOnly SFBool field named isBound.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.setMetadata(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
-
Method Details
-
getBindTime
double getBindTime()Provide double value in seconds from outputOnly SFTime field named bindTime.- Returns:
- value of bindTime field
-
getIsBound
boolean getIsBound()Provide boolean value from outputOnly SFBool field named isBound.- Returns:
- value of isBound field
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceX3DChildNode- Specified by:
getMetadatain interfaceX3DNode- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain interfaceX3DChildNode- Specified by:
setMetadatain interfaceX3DNode- Parameters:
newValue- is new value for the metadata field.- Returns:
X3DBindableNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-