All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.generic.geometry.Anchor
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.generic.geometry.ChildrenNode
|
+----vlc.vrml.generic.geometry.GroupingNode
|
+----vlc.vrml.generic.geometry.Anchor
- public class Anchor
- extends GroupingNode
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
-
Anchor()
- Default Constructor.
-
Anchor(float[], float[])
- Default Constructor when you wish to supply your own Browser reference.
-
cleanup()
- Call when about to remove the node from the scenegraph.
-
clone()
- Make a clone of this object
-
get_description()
- Get the currently set description.
-
get_parameter()
- Get the list of current parameters for the anchor
-
get_url()
- Get the array of URLs that this node links to.
-
set_description(String)
- Set the description field of the Anchor
-
set_parameter(String[])
- Set the Anchor parameters.
-
set_url(String[])
- Set the URL/URNs that this node links to.
-
writeToStream(int)
- Prints the formatted contents of this node.
Anchor
public Anchor()
- Default Constructor. Creates a default Anchor
Anchor
public Anchor(float bboxCenter[],
float bboxSize[])
- Default Constructor when you wish to supply your own Browser reference.
Creates a default Anchor
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.
- Parameters:
- indent - The number of spaces to indent this node in the string
- Overrides:
- writeToStream in class VrmlObject
set_description
public void set_description(String val)
- Set the description field of the Anchor
- Parameters:
- str - The string to be used for the description
set_parameter
public void set_parameter(String val[])
- Set the Anchor parameters. Each parameter occupies a single string
as per the VRML 97 spec.
- Parameters:
- val - An array of strings for the parameters
set_url
public void set_url(String val[])
- Set the URL/URNs that this node links to. These can be any accepted
form that the standard URL/URN representations permit.
- Parameters:
- urls - An array of the URL strings
get_description
public String get_description()
- Get the currently set description.
- Returns:
- A string representing the currently set description
get_parameter
public String[] get_parameter()
- Get the list of current parameters for the anchor
- Returns:
- An array of strings, one per parameter
get_url
public String[] get_url()
- Get the array of URLs that this node links to.
- Returns:
- The URL/URNs that this node links to one per string
clone
public Object clone()
- Make a clone of this object
- Returns:
- A deep clone copy of this object
- Overrides:
- clone in class GroupingNode
All Packages Class Hierarchy This Package Previous Next Index