|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.physics.util.Main
public class Main
Constructor Summary | |
---|---|
Main()
|
Method Summary | |
---|---|
void |
displayGUI(Hierarchy h,
Scene scene)
|
java.lang.String[] |
getVersion()
Provides the application's current version and the JOGL version used as two Strings. |
static java.lang.String |
getVersionString()
Provides a String representation of the current version of Vertex Modeler. |
static void |
loadScene(java.io.InputStream in,
Scene scene)
Builds a SceneFactory from a Java source describing a class with the name "SceneFactoryImpl" that is an implementation of VisibleFactory. |
static void |
loadScene(java.lang.String filename,
Scene scene)
|
static void |
loadScene(java.lang.String filename,
Scene scene,
boolean isResource)
Builds a SceneFactory from a Java source describing a class with the name "SceneFactoryImpl" that is an implementation of VisibleFactory. |
static void |
main(PhysicsGUI gui,
java.lang.String[] args)
The configurable entry point for the application. |
static void |
main(java.lang.String[] args)
The main entry point for the application. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Main()
Method Detail |
---|
public static java.lang.String getVersionString()
public java.lang.String[] getVersion()
getVersion
in interface PhysicsGUI
public void displayGUI(Hierarchy h, Scene scene)
displayGUI
in interface PhysicsGUI
public static void loadScene(java.lang.String filename, Scene scene) throws java.io.IOException, org.codehaus.janino.Scanner.LocatedException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.io.IOException
org.codehaus.janino.Scanner.LocatedException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public static void loadScene(java.lang.String filename, Scene scene, boolean isResource) throws java.io.IOException, org.codehaus.janino.Scanner.LocatedException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
filename
- the name of a file to read the source from.scene
- the Scene that new object should be deposited into.
java.io.IOException
org.codehaus.janino.Scanner.LocatedException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public static void loadScene(java.io.InputStream in, Scene scene) throws java.io.IOException, org.codehaus.janino.Scanner.LocatedException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
in
- the InputStream to read the source from.scene
- the Scene that new object should be deposited into.
java.io.IOException
org.codehaus.janino.Scanner.LocatedException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static void main(PhysicsGUI gui, java.lang.String[] args) throws java.lang.Exception
gui
- the PhysicsGUI object to use.args
- the commandline arguments to parse.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |