All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.external.geometry.BindableNode

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.external.geometry.VrmlObject
                   |
                   +----vlc.vrml.external.geometry.ChildrenNode
                           |
                           +----vlc.vrml.external.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 definition of the Anchor node please see the VRML 97 Anchor specification

Bindable node abstract class. The base class for all bindable nodes. Background, Fog, NavigationInfo and Viewpoint

Author:
Justin Couch justin@vlc.com.au

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 EventInSFBool _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 EventOutSFBool _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