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

Variable Index

 o _enabled
An internal reference to keep track of the enabled condition of this node.
 o _get_isActive
The reference to the isActive eventOut of the node.
 o _set_enabled
The reference to the set_enabled eventIn of the node.

Constructor Index

 o Sensor()
Empty constructor to prevent people creating instances of this class
 o Sensor(Browser)
Constructor to pass the browser reference down to the base class

Method Index

 o get_enabled()
Get the current enabled condition.
 o get_isActive()
Get the value of the isActive eventOut
 o set_enabled(boolean)
Set the value of the enabled condition

Variables

 o _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.

 o _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.

 o _enabled
 protected boolean _enabled
An internal reference to keep track of the enabled condition of this node.

Constructors

 o Sensor
 protected Sensor()
Empty constructor to prevent people creating instances of this class

 o 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

Methods

 o set_enabled
 public void set_enabled(boolean val)
Set the value of the enabled condition

Parameters:
val - True to enable this sensor
 o get_enabled
 public boolean get_enabled()
Get the current enabled condition.

Returns:
The enabled condition.
 o 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