public interface LoadSensor extends X3DNetworkSensorNode
| Modifier and Type | Method and Description |
|---|---|
void |
addWatchList(X3DNode[] newValue)
Add array of child watchList nodes to array of existing nodes (if any).
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
boolean |
getIsActive()
Provide boolean value from outputOnly SFBool field named isActive.
|
boolean |
getIsLoaded()
Provide boolean value from outputOnly SFBool field named isLoaded.
|
double |
getLoadTime()
Provide double value in seconds from outputOnly SFTime field named loadTime.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getProgress()
Provide float value from outputOnly SFFloat field named progress.
|
double |
getTimeOut()
Provide double value in seconds within allowed range of [0,infinity) from inputOutput SFTime field named timeOut.
|
X3DNode[] |
getWatchList()
Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field watchList.
|
LoadSensor |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
LoadSensor |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
LoadSensor |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
LoadSensor |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
LoadSensor |
setTimeOut(double newValue)
Assign double value in seconds within allowed range of [0,infinity) to inputOutput SFTime field named timeOut.
|
LoadSensor |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
void |
setWatchList(X3DNode newValue)
Set single child watchList node, replacing prior array of existing nodes (if any).
|
LoadSensor |
setWatchList(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field watchList.
|
boolean getEnabled()
getEnabled in interface X3DNetworkSensorNodegetEnabled in interface X3DSensorNodeLoadSensor setEnabled(boolean newValue)
setEnabled in interface X3DNetworkSensorNodesetEnabled in interface X3DSensorNodenewValue - is new value for the enabled field.LoadSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getIsActive()
getIsActive in interface X3DNetworkSensorNodegetIsActive in interface X3DSensorNodeboolean getIsLoaded()
double getLoadTime()
X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNetworkSensorNodegetMetadata in interface X3DNodegetMetadata in interface X3DSensorNodeLoadSensor setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNetworkSensorNodesetMetadata in interface X3DNodesetMetadata in interface X3DSensorNodenewValue - is new value for the metadata field.LoadSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getProgress()
double getTimeOut()
LoadSensor setTimeOut(double newValue)
newValue - is new value for the timeOut field.LoadSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getWatchList()
X3DUrlObjectLoadSensor setWatchList(X3DNode[] newValue)
newValue - is new value for the watchList field.LoadSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addWatchList(X3DNode[] newValue)
newValue - is new value array to be appended the watchList field.void setWatchList(X3DNode newValue)
newValue - is new node for the watchList fieldLoadSensor setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNetworkSensorNodesetDEF in interface X3DNodesetDEF in interface X3DSensorNodenewValue - is new value for the DEF field.LoadSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).LoadSensor setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DNetworkSensorNodesetUSE in interface X3DNodesetUSE in interface X3DSensorNodenewValue - is new value for the USE field.LoadSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).LoadSensor setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNetworkSensorNodesetCssClass in interface X3DNodesetCssClass in interface X3DSensorNodenewValue - is new value for the class field.LoadSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.