Package org.web3d.x3d.sai.Networking
Interface X3DNetworkSensorNode
- All Superinterfaces:
X3DChildNode,X3DNode,X3DSensorNode
- All Known Subinterfaces:
EspduTransform,LoadSensor,ReceiverPdu,SignalPdu,TransmitterPdu
- All Known Implementing Classes:
EspduTransformObject,LoadSensorObject,ReceiverPduObject,SignalPduObject,TransmitterPduObject
public interface X3DNetworkSensorNode extends X3DSensorNode
Base typefor all sensors that generate events based on network activity.
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).
-
Method Summary
Modifier and Type Method Description booleangetEnabled()Provide boolean value from inputOutput SFBool field named enabled.booleangetIsActive()Provide boolean value from outputOnly SFBool field named isActive.X3DMetadataObjectgetMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.X3DNetworkSensorNodesetEnabled(boolean newValue)Accessor method to assign boolean value to inputOutput SFBool field named enabled.X3DNetworkSensorNodesetMetadata(X3DMetadataObject newValue)Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
-
Method Details
-
getEnabled
boolean getEnabled()Provide boolean value from inputOutput SFBool field named enabled.- Specified by:
getEnabledin interfaceX3DSensorNode- Returns:
- value of enabled field
-
setEnabled
Accessor method to assign boolean value to inputOutput SFBool field named enabled.- Specified by:
setEnabledin interfaceX3DSensorNode- Parameters:
newValue- is new value for the enabled field.- Returns:
X3DNetworkSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getIsActive
boolean getIsActive()Provide boolean value from outputOnly SFBool field named isActive.- Specified by:
getIsActivein interfaceX3DSensorNode- Returns:
- value of isActive field
-
getMetadata
X3DMetadataObject getMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceX3DChildNode- Specified by:
getMetadatain interfaceX3DNode- Specified by:
getMetadatain interfaceX3DSensorNode- Returns:
- value of metadata field
- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
setMetadata
Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain interfaceX3DChildNode- Specified by:
setMetadatain interfaceX3DNode- Specified by:
setMetadatain interfaceX3DSensorNode- Parameters:
newValue- is new value for the metadata field.- Returns:
X3DNetworkSensorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-