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

Constructor Index

 o WorldInfo()
Default Constructor.
 o WorldInfo(Browser)
Default Constructor when you want to use your Browser reference.
 o WorldInfo(Browser, String[], String)
Constructor when you don't want to create a default node.
 o WorldInfo(String[], String)
Constructor when you don't want to create a default node.

Method Index

 o cleanup()
Call when about to remove the node from the scenegraph.
 o clone()
Make a clone of this object
 o get_info()
Get the info string from the node
 o get_title()
Get the title string from the node
 o writeToStream(int)
Prints the formatted contents of this node to the given stream.

Constructors

 o WorldInfo
 public WorldInfo()
Default Constructor. Creates a default WorldInfo node

 o WorldInfo
 public WorldInfo(Browser b)
Default Constructor when you want to use your Browser reference. Creates a default WorldInfo node

 o 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
 o 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.

Methods

 o cleanup
 public void cleanup()
Call when about to remove the node from the scenegraph.

Overrides:
cleanup in class VrmlObject
 o 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
 o 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
 o get_title
 public String get_title()
Get the title string from the node

Returns:
A string which represents the value of the title field
 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