All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.external.geometry.WorldInfo
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.ChildrenNode
|
+----vlc.vrml.external.geometry.WorldInfo
- public class WorldInfo
- 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
- Author:
- Justin Couch justin@vlc.com.au
-
WorldInfo()
- Default Constructor.
-
WorldInfo(Browser)
- Default Constructor when you want to use your Browser reference.
-
WorldInfo(Browser, String[], String)
- Constructor when you don't want to create a default node.
-
WorldInfo(String[], String)
- Constructor when you don't want to create a default node.
-
cleanup()
- Call when about to remove the node from the scenegraph.
-
clone()
- Make a clone of this object
-
get_info()
- Get the info string from the node
-
get_title()
- Get the title string from the node
-
writeToStream(int)
- Prints the formatted contents of this node to the given stream.
WorldInfo
public WorldInfo()
- Default Constructor. Creates a default WorldInfo node
WorldInfo
public WorldInfo(Browser b)
- Default Constructor when you want to use your Browser reference.
Creates a default WorldInfo node
WorldInfo
public WorldInfo(String info[],
String title)
- Constructor when you don't want to create a default node.
- Parameters:
- info - A series of strings refresenting the information to be kept
- title - The title of the world
WorldInfo
public WorldInfo(Browser b,
String info[],
String title)
- Constructor when you don't want to create a default node. You must supply
your own Browser reference.
- Parameters:
- b - A valid Browser reference.
- info - A series of strings refresenting the information to be kept.
- title - The title of the world.
cleanup
public void cleanup()
- Call when about to remove the node from the scenegraph.
- Overrides:
- cleanup in class VrmlObject
writeToStream
public void writeToStream(int indent)
- Prints the formatted contents of this node to the given stream.
- Parameters:
- indent - The number of spaces to indent this node in the string
- Overrides:
- writeToStream in class VrmlObject
get_info
public String[] get_info()
- Get the info string from the node
- Returns:
- An array of strings corresponding to the values in the info field
get_title
public String get_title()
- Get the title string from the node
- Returns:
- A string which represents the value of the title field
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