| |
|
| org.openjx.display.JXViewer org.openjx.OpenJX
OpenJX | public class OpenJX extends JXViewer (Code) | | This is the main class for the OpenJX virtual machine. It handles the
initial setup and execution of the virtual machine.
author: Jared Spigner |
Field Summary | |
public String | applicationMode This is the mode of operation (desktop or applet) application. |
Constructor Summary | |
public | OpenJX() This is the constructor for the OpenJX application. | public | OpenJX(String[] argv) This is the constructor for the OpenJX application. |
Method Summary | |
public void | executeJX(String[] argv) This is called by the constructor for the OpenJX application. | public void | init() This is the main method to the OpenJX applet. | public static void | main(String[] argv) This is the main method to the OpenJX application. | public void | parseArguments(String[] argv) This method parses the command line arguments and test for missing
required arguments. | public void | printUsage() |
applicationMode | public String applicationMode(Code) | | This is the mode of operation (desktop or applet) application.
|
OpenJX | public OpenJX()(Code) | | This is the constructor for the OpenJX application.
|
OpenJX | public OpenJX(String[] argv)(Code) | | This is the constructor for the OpenJX application. It creates a new
instance of OpenJX based on the argument array passed to it.
Parameters: argv - is an array of command line arguments to the application. |
executeJX | public void executeJX(String[] argv)(Code) | | This is called by the constructor for the OpenJX application.
It creates a new instance of OpenJX based on the argument array passed
to it.
Parameters: argv - is an array of command line arguments to the application. |
init | public void init()(Code) | | This is the main method to the OpenJX applet. It is only used when
OpenJX is to be run as an applet. It instantiates the class with the
applet parameters.
|
main | public static void main(String[] argv)(Code) | | This is the main method to the OpenJX application. It is only used
when OpenJX is to be run as an application. It instantiates the class
with the command line argument array.
Parameters: argv - is an array of command line arguments to the application. |
parseArguments | public void parseArguments(String[] argv)(Code) | | This method parses the command line arguments and test for missing
required arguments. If any are missing it calls the printUsage method
and then exits the application.
Parameters: argv - is an array of command line arguments to the application. |
printUsage | public void printUsage()(Code) | | |
|
|
|