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 TypeMethodDescriptionboolean
Return the isLoaded boolean value.double
Return the loadTime double value.int
Return the number of MFNode items in the watchList field.float
Return the progress float value.double
Return the timeOut double value.void
getWatchList
(X3DNode[] val) Return the watchList value in the argument X3DNode[]void
setTimeOut
(double val) Set the timeOut field.void
setWatchList
(X3DNode[] val) Set the watchList field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
Methods 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.
-