|
j3d-vrml97-0.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvrml.Browser
public class Browser
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 |
---|
public Browser(Browser b)
b
- Description of the Parameterpublic Browser()
public Browser(Canvas3D canvas)
canvas
- Description of the ParameterMethod Detail |
---|
public String getDescription()
public String getName()
public String getVersion()
public float getCurrentSpeed()
public float getCurrentFrameRate()
public String getWorldURL()
public URL getURL()
public void replaceWorld(BaseNode[] nodes)
nodes
- Description of the Parameterpublic BaseNode[] createVrmlFromString(String vrmlSyntax) throws InvalidVRMLSyntaxException
vrmlSyntax
- Description of the Parameter
InvalidVRMLSyntaxException
- Description of the Exceptionpublic void createVrmlFromURL(String[] url, BaseNode node, String event) throws InvalidVRMLSyntaxException
url
- Description of the Parameternode
- Description of the Parameterevent
- Description of the Parameter
InvalidVRMLSyntaxException
- Description of the Exceptionpublic void addRoute(BaseNode fromNode, String fromEventOut, BaseNode toNode, String toEventIn)
fromNode
- The feature to be added to the Route attributefromEventOut
- The feature to be added to the Route attributetoNode
- The feature to be added to the Route attributetoEventIn
- The feature to be added to the Route attributepublic void deleteRoute(BaseNode fromNode, String fromEventOut, BaseNode toNode, String toEventIn)
fromNode
- Description of the ParameterfromEventOut
- Description of the ParametertoNode
- Description of the ParametertoEventIn
- Description of the Parameterpublic void loadURL(String[] url, String[] parameter) throws InvalidVRMLSyntaxException, MalformedURLException, IOException
url
- Description of the Parameterparameter
- Description of the Parameter
InvalidVRMLSyntaxException
- Description of the Exception
MalformedURLException
- Description of the Exception
IOException
- Description of the Exceptionpublic void loadStringAsVrml(String sourceVrml)
sourceVrml
- Description of the Parameterpublic void setDescription(String description)
description
- The new description valuepublic void setViewpoint(int vi)
vi
- The new viewpoint valuepublic void resetViewpoint()
public String[] getViewpointDescriptions()
public void outputTiming()
public void shutDown()
public void startRender()
public void stopRender()
public Canvas3D getCanvas3D()
public void setAWTContainer(Container container)
container
- The new aWTContainer valuepublic void setAutoSmooth(boolean s)
s
- The new autoSmooth value
|
j3d-vrml97-0.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |