1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267
|
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Thu Sep 25 20:23:36 MET DST 1997 -->
<a name="_top_"></a>
<title>
Class vrml.external.Browser
</title>
</head>
<body background="vrwavebg.gif">
<pre>
<a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-vrml.external.html">This Package</a> <a href="Package-vrml.external.html">Previous</a> <a href="vrml.external.Node.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
Class vrml.external.Browser
</h1>
<pre>
vrml.external.Browser
</pre>
<hr>
<dl>
<dt> public class <b>Browser</b>
</dl>
<hr>
<a name="index"></a>
<h2>
<img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
<dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#Browser()"><b>Browser</b></a>()
<dd>
</dl>
<h2>
<img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#addRoute(vrml.external.Node, java.lang.String, vrml.external.Node, java.lang.String)"><b>addRoute</b></a>(Node, String, Node, String)
<dd> Add a route between the specified eventOut and eventIn of the
given nodes.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#createVrmlFromString(java.lang.String)"><b>createVrmlFromString</b></a>(String)
<dd> Parse STRING into a VRML scene and return the list of root
nodes for the resulting scene.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#createVrmlFromURL(java.lang.String[], vrml.external.Node, java.lang.String)"><b>createVrmlFromURL</b></a>(String[], Node, String)
<dd> Tells the browser to load a VRML scene from the passed URL or
URLs.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#deleteRoute(vrml.external.Node, java.lang.String, vrml.external.Node, java.lang.String)"><b>deleteRoute</b></a>(Node, String, Node, String)
<dd> Delete a route between the specified eventOut and eventIn of the
given nodes.
<dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#getBrowser(java.applet.Applet)"><b>getBrowser</b></a>(Applet)
<dd> Return an instance of the Browser class.
<dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#getBrowser(java.applet.Applet, java.lang.String, int)"><b>getBrowser</b></a>(Applet, String, int)
<dd> Return an instance of the Browser class.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#getCurrentFrameRate()"><b>getCurrentFrameRate</b></a>()
<dd> Get the current frame rate of the browser, or 0.0 if not available.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#getCurrentSpeed()"><b>getCurrentSpeed</b></a>()
<dd> Get the current velocity of the bound viewpoint in meters/sec,
if available, or 0.0 if not.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#getName()"><b>getName</b></a>()
<dd> Get the name of the VRML browser.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#getNode(java.lang.String)"><b>getNode</b></a>(String)
<dd> Get a DEFed node by name.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#getVersion()"><b>getVersion</b></a>()
<dd> Get the version of the VRML browser.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#getWorldURL()"><b>getWorldURL</b></a>()
<dd> Get the URL for the root of the current world, or an empty string
if not available.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#loadURL(java.lang.String[], java.lang.String[])"><b>loadURL</b></a>(String[], String[])
<dd> Load the given URL with the passed parameters (as described
in the Anchor node).
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#replaceWorld(vrml.external.Node[])"><b>replaceWorld</b></a>(Node[])
<dd> Replace the current world with the passed array of nodes.
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#setDescription(java.lang.String)"><b>setDescription</b></a>(String)
<dd> Set the description of the current world.
<dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#startVRwave(iicm.vrml.vrwave.Scene)"><b>startVRwave</b></a>(Scene)
<dd>
<dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#stopVRwave(iicm.vrml.vrwave.Scene)"><b>stopVRwave</b></a>(Scene)
<dd>
</dl>
<a name="constructors"></a>
<h2>
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="Browser"></a>
<a name="Browser()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Browser</b>
<pre>
public Browser()
</pre>
<a name="methods"></a>
<h2>
<img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getName"><b>getName</b></a>
<pre>
public <a href="java.lang.String.html#_top_">String</a> getName()
</pre>
<dl>
<dd> Get the name of the VRML browser.
</dl>
<a name="getVersion()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getVersion"><b>getVersion</b></a>
<pre>
public <a href="java.lang.String.html#_top_">String</a> getVersion()
</pre>
<dl>
<dd> Get the version of the VRML browser.
</dl>
<a name="getCurrentSpeed()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getCurrentSpeed"><b>getCurrentSpeed</b></a>
<pre>
public float getCurrentSpeed()
</pre>
<dl>
<dd> Get the current velocity of the bound viewpoint in meters/sec,
if available, or 0.0 if not.
</dl>
<a name="getCurrentFrameRate()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getCurrentFrameRate"><b>getCurrentFrameRate</b></a>
<pre>
public float getCurrentFrameRate()
</pre>
<dl>
<dd> Get the current frame rate of the browser, or 0.0 if not available.
</dl>
<a name="getWorldURL()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getWorldURL"><b>getWorldURL</b></a>
<pre>
public <a href="java.lang.String.html#_top_">String</a> getWorldURL()
</pre>
<dl>
<dd> Get the URL for the root of the current world, or an empty string
if not available.
</dl>
<a name="replaceWorld(vrml.external.Node[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="replaceWorld"><b>replaceWorld</b></a>
<pre>
public void replaceWorld(<a href="vrml.external.Node.html#_top_">Node</a> nodes[]) throws <a href="java.lang.IllegalArgumentException.html#_top_">IllegalArgumentException</a>
</pre>
<dl>
<dd> Replace the current world with the passed array of nodes.
</dl>
<a name="loadURL(java.lang.String[], java.lang.String[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="loadURL"><b>loadURL</b></a>
<pre>
public void loadURL(<a href="java.lang.String.html#_top_">String</a> url[],
<a href="java.lang.String.html#_top_">String</a> parameter[])
</pre>
<dl>
<dd> Load the given URL with the passed parameters (as described
in the Anchor node).
</dl>
<a name="setDescription(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setDescription"><b>setDescription</b></a>
<pre>
public void setDescription(<a href="java.lang.String.html#_top_">String</a> description)
</pre>
<dl>
<dd> Set the description of the current world. To clear the description,
pass an empty string as argument.
</dl>
<a name="createVrmlFromString(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="createVrmlFromString"><b>createVrmlFromString</b></a>
<pre>
public <a href="vrml.external.Node.html#_top_">Node</a>[] createVrmlFromString(<a href="java.lang.String.html#_top_">String</a> vrmlSyntax) throws <a href="vrml.external.exception.InvalidVrmlException.html#_top_">InvalidVrmlException</a>
</pre>
<dl>
<dd> Parse STRING into a VRML scene and return the list of root
nodes for the resulting scene.
</dl>
<a name="createVrmlFromURL(java.lang.String[], vrml.external.Node, java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="createVrmlFromURL"><b>createVrmlFromURL</b></a>
<pre>
public void createVrmlFromURL(<a href="java.lang.String.html#_top_">String</a> url[],
<a href="vrml.external.Node.html#_top_">Node</a> node,
<a href="java.lang.String.html#_top_">String</a> event)
</pre>
<dl>
<dd> 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.
</dl>
<a name="getNode(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getNode"><b>getNode</b></a>
<pre>
public <a href="vrml.external.Node.html#_top_">Node</a> getNode(<a href="java.lang.String.html#_top_">String</a> name) throws <a href="vrml.external.exception.InvalidNodeException.html#_top_">InvalidNodeException</a>
</pre>
<dl>
<dd> 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.
</dl>
<a name="addRoute(vrml.external.Node, java.lang.String, vrml.external.Node, java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="addRoute"><b>addRoute</b></a>
<pre>
public void addRoute(<a href="vrml.external.Node.html#_top_">Node</a> fromNode,
<a href="java.lang.String.html#_top_">String</a> fromEventOut,
<a href="vrml.external.Node.html#_top_">Node</a> toNode,
<a href="java.lang.String.html#_top_">String</a> toEventIn) throws <a href="java.lang.IllegalArgumentException.html#_top_">IllegalArgumentException</a>
</pre>
<dl>
<dd> Add a route between the specified eventOut and eventIn of the
given nodes.
</dl>
<a name="deleteRoute(vrml.external.Node, java.lang.String, vrml.external.Node, java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="deleteRoute"><b>deleteRoute</b></a>
<pre>
public void deleteRoute(<a href="vrml.external.Node.html#_top_">Node</a> fromNode,
<a href="java.lang.String.html#_top_">String</a> fromEventOut,
<a href="vrml.external.Node.html#_top_">Node</a> toNode,
<a href="java.lang.String.html#_top_">String</a> toEventIn) throws <a href="java.lang.IllegalArgumentException.html#_top_">IllegalArgumentException</a>
</pre>
<dl>
<dd> Delete a route between the specified eventOut and eventIn of the
given nodes.
</dl>
<a name="getBrowser(java.applet.Applet)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getBrowser"><b>getBrowser</b></a>
<pre>
public static <a href="#_top_">Browser</a> getBrowser(<a href="java.applet.Applet.html#_top_">Applet</a> pApplet)
</pre>
<dl>
<dd> Return an instance of the Browser class.
</dl>
<a name="getBrowser(java.applet.Applet, java.lang.String, int)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getBrowser"><b>getBrowser</b></a>
<pre>
public static <a href="#_top_">Browser</a> getBrowser(<a href="java.applet.Applet.html#_top_">Applet</a> pApplet,
<a href="java.lang.String.html#_top_">String</a> frameName,
int index)
</pre>
<dl>
<dd> Return an instance of the Browser class.
</dl>
<a name="startVRwave(iicm.vrml.vrwave.Scene)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="startVRwave"><b>startVRwave</b></a>
<pre>
public static void startVRwave(<a href="iicm.vrml.vrwave.Scene.html#_top_">Scene</a> scene)
</pre>
<a name="stopVRwave(iicm.vrml.vrwave.Scene)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="stopVRwave"><b>stopVRwave</b></a>
<pre>
public static void stopVRwave(<a href="iicm.vrml.vrwave.Scene.html#_top_">Scene</a> scene)
</pre>
<hr>
<pre>
<a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-vrml.external.html">This Package</a> <a href="Package-vrml.external.html">Previous</a> <a href="vrml.external.Node.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre>
</body>
</html>
|