All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.internal.geometry.BindableNode

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.internal.geometry.VrmlObject
                   |
                   +----vlc.vrml.internal.geometry.ChildrenNode
                           |
                           +----vlc.vrml.internal.geometry.BindableNode

public abstract class BindableNode
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 information on the Bindable nodea please see the VRML 97 specification Concepts section 4.6.10

Bindable node abstract class. The base class for all bindable nodes.

Author:
Justin Couch justin@vlc.com.au
See Also:
Background, Fog, NavigationInfo, Viewpoint

Variable Index

 o _bound
Internal reference to the current bind state of this node.
 o _get_isBound
Reference to the isBound SFBool eventOut of the node.
 o _set_bind
Reference to the set_bind SFBool eventIn of the node.

Constructor Index

 o BindableNode()
Default constructor implementation
 o BindableNode(Browser)
Constructor to pass the browser reference down to the base class

Method Index

 o get_isBound()
Gets the current bound state of the node from the scene.
 o set_bind(boolean)
Set the bind condition of this node.

Variables

 o _set_bind
 protected SFBool _set_bind
Reference to the set_bind SFBool eventIn of the node. To be filled in by the subclass after generating the node.

 o _get_isBound
 protected ConstSFBool _get_isBound
Reference to the isBound SFBool eventOut of the node. To be filled in by the subclass after generating the node.

 o _bound
 protected boolean _bound
Internal reference to the current bind state of this node.

Constructors

 o BindableNode
 protected BindableNode()
Default constructor implementation

 o BindableNode
 protected BindableNode(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_bind
 public void set_bind(boolean val)
Set the bind condition of this node.

Parameters:
val - True will cause this node to become the active one. False will unbind the node. For behaviour of all Bindable nodes see the VRML 97 spec concepts | bindable nodes.
 o get_isBound
 public boolean get_isBound()
Gets the current bound state of the node from the scene.

Returns:
A boolean representing whether this node is bound or not.

All Packages  Class Hierarchy  This Package  Previous  Next  Index