|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--netscape.plugin.Plugin | +--vrml.external.Browser
Constructor Summary | |
Browser()
|
Method Summary | |
void |
addRoute(Node fromNode,
java.lang.String fromEventOut,
Node toNode,
java.lang.String toEventIn)
Add a route between the specified eventOut and eventIn of the given nodes. |
Node[] |
createVrmlFromString(java.lang.String vrmlSyntax)
Parse STRING into a VRML scene and return the list of root nodes for the resulting scene. |
void |
createVrmlFromURL(java.lang.String[] url,
Node node,
java.lang.String event)
Tells the browser to load a VRML scene from the passed URL or URLs. |
void |
deleteRoute(Node fromNode,
java.lang.String fromEventOut,
Node toNode,
java.lang.String toEventIn)
Delete a route between the specified eventOut and eventIn of the given nodes. |
static Browser |
getBrowser(java.applet.Applet pApplet)
Return an instance of the Browser class. |
static Browser |
getBrowser(java.applet.Applet pApplet,
java.lang.String frameName,
int index)
Return an instance of the Browser class. |
float |
getCurrentFrameRate()
Get the current frame rate of the browser, or 0.0 if not available. |
float |
getCurrentSpeed()
Get the current velocity of the bound viewpoint in meters/sec, if available, or 0.0 if not. |
java.lang.String |
getName()
Get the name of the VRML browser. |
Node |
getNode(java.lang.String name)
Get a DEFed node by name. |
java.lang.String |
getVersion()
Get the version of the VRML browser. |
java.lang.String |
getWorldURL()
Get the URL for the root of the current world, or an empty string if not available. |
void |
loadURL(java.lang.String[] url,
java.lang.String[] parameter)
Load the given URL with the passed parameters (as described in the Anchor node). |
void |
replaceWorld(Node[] nodes)
Replace the current world with the passed array of nodes. |
void |
setDescription(java.lang.String description)
Set the description of the current world. |
static void |
startVRwave(Scene scene)
|
static void |
stopVRwave(Scene scene)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Browser()
Method Detail |
public java.lang.String getName()
public java.lang.String getVersion()
public float getCurrentSpeed()
public float getCurrentFrameRate()
public java.lang.String getWorldURL()
public void replaceWorld(Node[] nodes) throws java.lang.IllegalArgumentException
public void loadURL(java.lang.String[] url, java.lang.String[] parameter)
public void setDescription(java.lang.String description)
public Node[] createVrmlFromString(java.lang.String vrmlSyntax) throws InvalidVrmlException
public void createVrmlFromURL(java.lang.String[] url, Node node, java.lang.String event)
public Node getNode(java.lang.String name) throws InvalidNodeException
public void addRoute(Node fromNode, java.lang.String fromEventOut, Node toNode, java.lang.String toEventIn) throws java.lang.IllegalArgumentException
public void deleteRoute(Node fromNode, java.lang.String fromEventOut, Node toNode, java.lang.String toEventIn) throws java.lang.IllegalArgumentException
public static Browser getBrowser(java.applet.Applet pApplet)
public static Browser getBrowser(java.applet.Applet pApplet, java.lang.String frameName, int index)
public static void startVRwave(Scene scene)
public static void stopVRwave(Scene scene)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |