All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.external.geometry.Sensor
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.ChildrenNode
|
+----vlc.vrml.external.geometry.Sensor
- public abstract class Sensor
- extends ChildrenNode
JVerge
- Version:
- 0.8 (beta 4)
Copyright 1997
The Virtual Light Company
under the
GNU LGPL
The latest information and bugs in JVerge can be found at
http://www.vlc.com.au/JVerge
For definition of the Anchor node please see the
VRML 97 Anchor specification
Sensor Abstract class.
Used as the base class for all the sensors
- Author:
- Justin Couch justin@vlc.com.au
-
_enabled
- An internal reference to keep track of the enabled condition of this
node.
-
_get_isActive
- The reference to the isActive eventOut of the node.
-
_set_enabled
- The reference to the set_enabled eventIn of the node.
-
Sensor()
- Empty constructor to prevent people creating instances of this class
-
Sensor(Browser)
- Constructor to pass the browser reference down to the base class
-
get_enabled()
- Get the current enabled condition.
-
get_isActive()
- Get the value of the isActive eventOut
-
set_enabled(boolean)
- Set the value of the enabled condition
_set_enabled
protected EventInSFBool _set_enabled
- The reference to the set_enabled eventIn of the node. This should be
supplied by the derived class after creating the node.
_get_isActive
protected EventOutSFBool _get_isActive
- The reference to the isActive eventOut of the node. This should be
supplied by the derived class after creating the node.
_enabled
protected boolean _enabled
- An internal reference to keep track of the enabled condition of this
node.
Sensor
protected Sensor()
- Empty constructor to prevent people creating instances of this class
Sensor
protected Sensor(Browser b)
- Constructor to pass the browser reference down to the base class
- Parameters:
- b - The browser reference to be passed on
set_enabled
public void set_enabled(boolean val)
- Set the value of the enabled condition
- Parameters:
- val - True to enable this sensor
get_enabled
public boolean get_enabled()
- Get the current enabled condition.
- Returns:
- The enabled condition.
get_isActive
public boolean get_isActive()
- Get the value of the isActive eventOut
- Returns:
- The value of isActive
All Packages Class Hierarchy This Package Previous Next Index