Xj3D 2.0 VRML/X3D Code API

vrml
Class BaseNode

java.lang.Object
  extended by vrml.BaseNode
Direct Known Subclasses:
Node, Script

public abstract class BaseNode
extends java.lang.Object

Java VRML97 script binding for the BaseNode class.

Version:
$Revision: 1.7 $
Author:
Alan Hudson

Field Summary
protected  Browser browser
          The browser reference for the user
protected  java.lang.String nodeName
          The real name of this node
protected  VRMLNodeType realNode
          The Xj3D implementation node that this is
 
Constructor Summary
BaseNode()
           
 
Method Summary
 Browser getBrowser()
          Get a reference to the browser object to allow access to the scene.
 VRMLNodeType getImplNode()
          Get the implementation node of this node, if set.
 java.lang.String getType()
          Get the type name of the node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

browser

protected Browser browser
The browser reference for the user


nodeName

protected java.lang.String nodeName
The real name of this node


realNode

protected VRMLNodeType realNode
The Xj3D implementation node that this is

Constructor Detail

BaseNode

public BaseNode()
Method Detail

getImplNode

public VRMLNodeType getImplNode()
Get the implementation node of this node, if set.

Returns:
The node reference or null

getType

public java.lang.String getType()
Get the type name of the node. The name is the normal VRML name as you would see it in a UTF8 file. If the node is a prototype, it will return the proto name.

Returns:
A string representing the name

getBrowser

public Browser getBrowser()
Get a reference to the browser object to allow access to the scene.

Returns:
A browser instance for public use

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium