FreeWRL/FreeX3D  3.0.0
IBrowser.java
1 package vrml.external;
2 
3 import vrml.external.Node;
5 
6 public interface IBrowser {
7  public String getName();
8  public String getVersion();
9  public int getEncoding();
10  public float getCurrentSpeed();
11  public float getCurrentFrameRate();
12  public String getWorldURL();
13  public void replaceWorld(Node[] nodes) throws IllegalArgumentException;
14  public void loadURL(String[] url, String[] parameter);
15  public void setDescription(String description);
16  public String getDescription();
17  public String getRenderingProperties();
18  public Node[] createVrmlFromString(String vrmlSyntax) throws InvalidVrmlException;
19  public void createVrmlFromURL(String[] url, Node node, String event);
20  public Node getNode(String name);
21  public void addRoute(Node fromNode, String fromEventOut, Node toNode, String toEventIn) throws IllegalArgumentException;
22  public void deleteRoute(Node fromNode, String fromEventOut, Node toNode, String toEventIn) throws IllegalArgumentException;
23  public void beginUpdate();
24  public void endUpdate();
25  public void initialize();
26  public void shutdown();
27  public void firstViewpoint();
28  public void lastViewpoint();
29  public void nextViewpoint();
30  public void previousViewpoint();
31  public String createNode (String name);
32  public String createProto (String name);
33  public String updateNamedNode (String name, Node node);
34  public String removeNamedNode (String name);
35  public String getProtoDeclaration (String name);
36  public String removeProtoDeclaration (String name);
37  public String updateProtoDeclaration (String name, String npdecl);
38  public String getNodeFieldDefs (Node myn);
39  public String getNodeDEFName(Node myn);
40 }