Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.networking
Interface LoadSensor

All Superinterfaces:
X3DChildNode, X3DNetworkSensorNode, X3DNode, X3DSensorNode

public interface LoadSensor
extends X3DNetworkSensorNode

Defines the requirements of an X3D LoadSensor node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 boolean getIsLoaded()
          Return the isLoaded boolean value.
 double getLoadTime()
          Return the loadTime double value.
 int getNumWatchList()
          Return the number of MFNode items in the watchList field.
 float getProgress()
          Return the progress float value.
 double getTimeOut()
          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.X3DSensorNode
getEnabled, getIsActive, setEnabled
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

getNumWatchList

int getNumWatchList()
Return the number of MFNode items in the watchList field.

Returns:
the number of MFNode items in the watchList field.

getWatchList

void getWatchList(X3DNode[] val)
Return the watchList value in the argument X3DNode[]

Parameters:
val - The X3DNode[] to initialize.

setWatchList

void setWatchList(X3DNode[] val)
Set the watchList field.

Parameters:
val - The X3DNode[] to set.

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.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium