Package org.web3d.x3d.sai.networking
Interface LoadSensor
- All Superinterfaces:
X3DChildNode,X3DNetworkSensorNode,X3DNode,X3DSensorNode
- All Known Implementing Classes:
SAILoadSensor,SAILoadSensor
Defines the requirements of an X3D LoadSensor node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the isLoaded boolean value.doubleReturn the loadTime double value.intReturn the number of MFNode items in the watchList field.floatReturn the progress float value.doubleReturn the timeOut double value.voidgetWatchList(X3DNode[] val) Return the watchList value in the argument X3DNode[]voidsetTimeOut(double val) Set the timeOut field.voidsetWatchList(X3DNode[] val) Set the watchList field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadataMethods inherited from interface org.web3d.x3d.sai.X3DSensorNode
getEnabled, getIsActive, setEnabled
-
Method Details
-
getNumWatchList
int getNumWatchList()Return the number of MFNode items in the watchList field.- Returns:
- the number of MFNode items in the watchList field.
-
getWatchList
Return the watchList value in the argument X3DNode[]- Parameters:
val- The X3DNode[] to initialize.
-
setWatchList
-
getTimeOut
double getTimeOut()Return the timeOut double value.- Returns:
- The timeOut double value.
-
setTimeOut
void setTimeOut(double val) Set the timeOut field.- Parameters:
val- The double to set.
-
getLoadTime
double getLoadTime()Return the loadTime double value.- Returns:
- The loadTime double value.
-
getIsLoaded
boolean getIsLoaded()Return the isLoaded boolean value.- Returns:
- The isLoaded boolean value.
-
getProgress
float getProgress()Return the progress float value.- Returns:
- The progress float value.
-