j3d-vrml97-0.1.0

vrml
Class Browser

java.lang.Object
  extended by vrml.Browser

public class Browser
extends Object

Description of the Class


Constructor Summary
Browser()
          Constructor for the Browser object
Browser(Browser b)
          Constructor for the Browser object
Browser(Canvas3D canvas)
          Constructor for the Browser object
 
Method Summary
 void addRoute(BaseNode fromNode, String fromEventOut, BaseNode toNode, String toEventIn)
          Adds a feature to the Route attribute of the Browser object
 BaseNode[] createVrmlFromString(String vrmlSyntax)
          Description of the Method
 void createVrmlFromURL(String[] url, BaseNode node, String event)
          Description of the Method
 void deleteRoute(BaseNode fromNode, String fromEventOut, BaseNode toNode, String toEventIn)
          Description of the Method
 Canvas3D getCanvas3D()
          Gets the canvas3D attribute of the Browser object
 float getCurrentFrameRate()
          Gets the currentFrameRate attribute of the Browser object
 float getCurrentSpeed()
          Gets the currentSpeed attribute of the Browser object
 String getDescription()
          Gets the description attribute of the Browser object
 String getName()
          Gets the name attribute of the Browser object
 URL getURL()
          Gets the uRL attribute of the Browser object
 String getVersion()
          Gets the version attribute of the Browser object
 String[] getViewpointDescriptions()
          Gets the viewpointDescriptions attribute of the Browser object
 String getWorldURL()
          Gets the worldURL attribute of the Browser object
 void loadStringAsVrml(String sourceVrml)
          Description of the Method
 void loadURL(String[] url, String[] parameter)
          Description of the Method
 void outputTiming()
          Description of the Method
 void replaceWorld(BaseNode[] nodes)
          Description of the Method
 void resetViewpoint()
          Description of the Method
 void setAutoSmooth(boolean s)
          Sets the autoSmooth attribute of the Browser object
 void setAWTContainer(Container container)
          Sets the aWTContainer attribute of the Browser object
 void setDescription(String description)
          Sets the description attribute of the Browser object
 void setViewpoint(int vi)
          Sets the viewpoint attribute of the Browser object
 void shutDown()
          Description of the Method
 void startRender()
          Description of the Method
 void stopRender()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Browser

public Browser(Browser b)
Constructor for the Browser object

Parameters:
b - Description of the Parameter

Browser

public Browser()
Constructor for the Browser object


Browser

public Browser(Canvas3D canvas)
Constructor for the Browser object

Parameters:
canvas - Description of the Parameter
Method Detail

getDescription

public String getDescription()
Gets the description attribute of the Browser object

Returns:
The description value

getName

public String getName()
Gets the name attribute of the Browser object

Returns:
The name value

getVersion

public String getVersion()
Gets the version attribute of the Browser object

Returns:
The version value

getCurrentSpeed

public float getCurrentSpeed()
Gets the currentSpeed attribute of the Browser object

Returns:
The currentSpeed value

getCurrentFrameRate

public float getCurrentFrameRate()
Gets the currentFrameRate attribute of the Browser object

Returns:
The currentFrameRate value

getWorldURL

public String getWorldURL()
Gets the worldURL attribute of the Browser object

Returns:
The worldURL value

getURL

public URL getURL()
Gets the uRL attribute of the Browser object

Returns:
The uRL value

replaceWorld

public void replaceWorld(BaseNode[] nodes)
Description of the Method

Parameters:
nodes - Description of the Parameter

createVrmlFromString

public BaseNode[] createVrmlFromString(String vrmlSyntax)
                                throws InvalidVRMLSyntaxException
Description of the Method

Parameters:
vrmlSyntax - Description of the Parameter
Returns:
Description of the Return Value
Throws:
InvalidVRMLSyntaxException - Description of the Exception

createVrmlFromURL

public void createVrmlFromURL(String[] url,
                              BaseNode node,
                              String event)
                       throws InvalidVRMLSyntaxException
Description of the Method

Parameters:
url - Description of the Parameter
node - Description of the Parameter
event - Description of the Parameter
Throws:
InvalidVRMLSyntaxException - Description of the Exception

addRoute

public void addRoute(BaseNode fromNode,
                     String fromEventOut,
                     BaseNode toNode,
                     String toEventIn)
Adds a feature to the Route attribute of the Browser object

Parameters:
fromNode - The feature to be added to the Route attribute
fromEventOut - The feature to be added to the Route attribute
toNode - The feature to be added to the Route attribute
toEventIn - The feature to be added to the Route attribute

deleteRoute

public void deleteRoute(BaseNode fromNode,
                        String fromEventOut,
                        BaseNode toNode,
                        String toEventIn)
Description of the Method

Parameters:
fromNode - Description of the Parameter
fromEventOut - Description of the Parameter
toNode - Description of the Parameter
toEventIn - Description of the Parameter

loadURL

public void loadURL(String[] url,
                    String[] parameter)
             throws InvalidVRMLSyntaxException,
                    MalformedURLException,
                    IOException
Description of the Method

Parameters:
url - Description of the Parameter
parameter - Description of the Parameter
Throws:
InvalidVRMLSyntaxException - Description of the Exception
MalformedURLException - Description of the Exception
IOException - Description of the Exception

loadStringAsVrml

public void loadStringAsVrml(String sourceVrml)
Description of the Method

Parameters:
sourceVrml - Description of the Parameter

setDescription

public void setDescription(String description)
Sets the description attribute of the Browser object

Parameters:
description - The new description value

setViewpoint

public void setViewpoint(int vi)
Sets the viewpoint attribute of the Browser object

Parameters:
vi - The new viewpoint value

resetViewpoint

public void resetViewpoint()
Description of the Method


getViewpointDescriptions

public String[] getViewpointDescriptions()
Gets the viewpointDescriptions attribute of the Browser object

Returns:
The viewpointDescriptions value

outputTiming

public void outputTiming()
Description of the Method


shutDown

public void shutDown()
Description of the Method


startRender

public void startRender()
Description of the Method


stopRender

public void stopRender()
Description of the Method


getCanvas3D

public Canvas3D getCanvas3D()
Gets the canvas3D attribute of the Browser object

Returns:
The canvas3D value

setAWTContainer

public void setAWTContainer(Container container)
Sets the aWTContainer attribute of the Browser object

Parameters:
container - The new aWTContainer value

setAutoSmooth

public void setAutoSmooth(boolean s)
Sets the autoSmooth attribute of the Browser object

Parameters:
s - The new autoSmooth value

j3d-vrml97-0.1.0

Todo: put BSD License reference here..