Class vrml.external.Browser
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class vrml.external.Browser
vrml.external.Browser
  -  public class Browser
   
  -   Browser() Browser()
-  
   
  -   addRoute(Node, String, Node, String) addRoute(Node, String, Node, String)
-  Add a route between the specified eventOut and eventIn of the
given nodes.
  
-   createVrmlFromString(String) createVrmlFromString(String)
-  Parse STRING into a VRML scene and return the list of root
nodes for the resulting scene.
  
-   createVrmlFromURL(String[], Node, String) createVrmlFromURL(String[], Node, String)
-  Tells the browser to load a VRML scene from the passed URL or
URLs.
  
-   deleteRoute(Node, String, Node, String) deleteRoute(Node, String, Node, String)
-  Delete a route between the specified eventOut and eventIn of the
given nodes.
  
-   getBrowser(Applet) getBrowser(Applet)
-  Return an instance of the Browser class.
  
-   getBrowser(Applet, String, int) getBrowser(Applet, String, int)
-  Return an instance of the Browser class.
  
-   getCurrentFrameRate() getCurrentFrameRate()
-  Get the current frame rate of the browser, or 0.0 if not available.
  
-   getCurrentSpeed() getCurrentSpeed()
-  Get the current velocity of the bound viewpoint in meters/sec,
if available, or 0.0 if not.
  
-   getName() getName()
-  Get the name of the VRML browser.
  
-   getNode(String) getNode(String)
-  Get a DEFed node by name.
  
-   getVersion() getVersion()
-  Get the version of the VRML browser.
  
-   getWorldURL() getWorldURL()
-  Get the URL for the root of the current world, or an empty string
if not available.
  
-   loadURL(String[], String[]) loadURL(String[], String[])
-  Load the given URL with the passed parameters (as described
in the Anchor node).
  
-   replaceWorld(Node[]) replaceWorld(Node[])
-  Replace the current world with the passed array of nodes.
  
-   setDescription(String) setDescription(String)
-  Set the description of the current world.
  
-   startVRwave(Scene) startVRwave(Scene)
-  
  
-   stopVRwave(Scene) stopVRwave(Scene)
-  
   
 Browser
Browser
  public Browser()
   
 getName
getName
  public String getName()
  -  Get the name of the VRML browser.
 getVersion
getVersion
  public String getVersion()
  -  Get the version of the VRML browser.
 getCurrentSpeed
getCurrentSpeed
  public float getCurrentSpeed()
  -  Get the current velocity of the bound viewpoint in meters/sec,
if available, or 0.0 if not.
 getCurrentFrameRate
getCurrentFrameRate
  public float getCurrentFrameRate()
  -  Get the current frame rate of the browser, or 0.0 if not available.
 getWorldURL
getWorldURL
  public String getWorldURL()
  -  Get the URL for the root of the current world, or an empty string
if not available.
 replaceWorld
replaceWorld
  public void replaceWorld(Node nodes[]) throws IllegalArgumentException
  -  Replace the current world with the passed array of nodes.
 loadURL
loadURL
  public void loadURL(String url[],
                      String parameter[])
  -  Load the given URL with the passed parameters (as described
in the Anchor node).
 setDescription
setDescription
  public void setDescription(String description)
  -  Set the description of the current world. To clear the description,
pass an empty string as argument.
 createVrmlFromString
createVrmlFromString
  public Node[] createVrmlFromString(String vrmlSyntax) throws InvalidVrmlException
  -  Parse STRING into a VRML scene and return the list of root
nodes for the resulting scene.
 createVrmlFromURL
createVrmlFromURL
  public void createVrmlFromURL(String url[],
                                Node node,
                                String event)
  -  Tells the browser to load a VRML scene from the passed URL or
URLs. After the scene is loaded, an event is sent to the MFNode
eventIn in node NODE named by the EVENT argument.
 getNode
getNode
  public Node getNode(String name) throws InvalidNodeException
  -  Get a DEFed node by name. Nodes given names in the root scene are
available to this method, DEFed nodes in inlines, as well as DEFed
nodes returned from createVrmlFromString/URL are not.
 addRoute
addRoute
  public void addRoute(Node fromNode,
                       String fromEventOut,
                       Node toNode,
                       String toEventIn) throws IllegalArgumentException
  -  Add a route between the specified eventOut and eventIn of the
given nodes.
 deleteRoute
deleteRoute
  public void deleteRoute(Node fromNode,
                          String fromEventOut,
                          Node toNode,
                          String toEventIn) throws IllegalArgumentException
  -  Delete a route between the specified eventOut and eventIn of the
given nodes.
 getBrowser
getBrowser
  public static Browser getBrowser(Applet pApplet)
  -  Return an instance of the Browser class.
 getBrowser
getBrowser
  public static Browser getBrowser(Applet pApplet,
                                   String frameName,
                                   int index)
  -  Return an instance of the Browser class.
 startVRwave
startVRwave
  public static void startVRwave(Scene scene)
 stopVRwave
stopVRwave
  public static void stopVRwave(Scene scene)
All Packages  Class Hierarchy  This Package  Previous  Next  Index