All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.generic.geometry.Sensor

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.generic.geometry.ChildrenNode
                   |
                   +----vlc.vrml.generic.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 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.

Constructor Index

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

Method Index

 o clone()
Make a clone of this object
 o get_enabled()
Get the current enabled condition.
 o set_enabled(boolean)
Set the value of the enabled condition

Variables

 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

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 clone
 public Object clone()
Make a clone of this object

Returns:
A deep clone copy of this object
Overrides:
clone in class VrmlObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index