Interface X3DLayerNode
- All Superinterfaces:
X3DNode
,X3DPickableObject
- All Known Subinterfaces:
Layer
,LayoutLayer
- All Known Implementing Classes:
Layer
,LayoutLayer
The X3DLayerNode abstract node type is the base node type for layer nodes.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
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 TypeMethodDescriptionProvide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.String[]
Provide array of String enumeration results with quoted value(s) ["ALL","NONE","TERRAIN",...] from inputOutput MFString field named objectType.boolean
Provide boolean value from inputOutput SFBool field named pickable.Provide org.web3d.x3d.sai.Layering.X3DViewportNode instance (using a properly typed node) from inputOutput SFNode field viewport.boolean
Provide boolean value from inputOutput SFBool field named visible.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setObjectType
(String[] newValue) Accessor method to assign String enumeration array (""ALL"" | ""NONE"" | ""TERRAIN"") to inputOutput MFString field named objectType.setPickable
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named pickable.setViewport
(X3DViewportNode newValue) Accessor method to assign org.web3d.x3d.sai.Layering.X3DViewportNode instance (using a properly typed node) to inputOutput SFNode field viewport.setVisible
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named visible.
-
Method Details
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadata
in 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:
setMetadata
in interfaceX3DNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
X3DLayerNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getObjectType
String[] getObjectType()Provide array of String enumeration results with quoted value(s) ["ALL","NONE","TERRAIN",...] from inputOutput MFString field named objectType.- Returns:
- value of objectType field
-
setObjectType
Accessor method to assign String enumeration array (""ALL"" | ""NONE"" | ""TERRAIN"") to inputOutput MFString field named objectType.- Parameters:
newValue
- is new value for the objectType field.- Returns:
X3DLayerNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getPickable
boolean getPickable()Provide boolean value from inputOutput SFBool field named pickable.- Specified by:
getPickable
in interfaceX3DPickableObject
- Returns:
- value of pickable field
-
setPickable
Accessor method to assign boolean value to inputOutput SFBool field named pickable.- Specified by:
setPickable
in interfaceX3DPickableObject
- Parameters:
newValue
- is new value for the pickable field.- Returns:
X3DLayerNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getViewport
X3DViewportNode getViewport()Provide org.web3d.x3d.sai.Layering.X3DViewportNode instance (using a properly typed node) from inputOutput SFNode field viewport.- Returns:
- value of viewport field
-
setViewport
Accessor method to assign org.web3d.x3d.sai.Layering.X3DViewportNode instance (using a properly typed node) to inputOutput SFNode field viewport.- Parameters:
newValue
- is new value for the viewport field.- Returns:
X3DLayerNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getVisible
boolean getVisible()Provide boolean value from inputOutput SFBool field named visible.- Returns:
- value of visible field
-
setVisible
Accessor method to assign boolean value to inputOutput SFBool field named visible.- Parameters:
newValue
- is new value for the visible field.- Returns:
X3DLayerNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-