|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.architecture.traffic.TrafficStarter
public class TrafficStarter
The general class which is used to start up the editor or simulator
| Field Summary | |
|---|---|
protected static int |
EDITOR
DOCUMENT ME! |
protected java.lang.String |
filename
DOCUMENT ME! |
protected boolean |
loadFile
DOCUMENT ME! |
protected boolean |
noFurtherOptions
DOCUMENT ME! |
protected java.lang.String[] |
params
DOCUMENT ME! |
protected static int |
SIMULATOR
DOCUMENT ME! |
protected boolean |
splashScreen
DOCUMENT ME! |
protected static int |
type
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
protected |
TrafficStarter(java.lang.String[] params,
int startType)
Make a new GLDStarter |
| Method Summary | |
|---|---|
Controller |
getController()
Method which gives the right controller for starting |
static int |
getProgramModus()
Indicates what kind of program is running in this VM (EDITOR or SIMULATOR). |
java.lang.String |
getStarterName()
Method which gives the right main class name for error messages |
void |
illegalParametersError()
This method is called when a command line parameter is encountered that we do not understand. |
void |
processOption(java.lang.String option)
Each option parameter (parameter that begins with a dash) is processed by this method |
void |
processParams()
Process the command line parameters that where specified when the program was started. |
void |
start()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static int type
protected static final int EDITOR
protected static final int SIMULATOR
protected boolean splashScreen
protected boolean loadFile
protected boolean noFurtherOptions
protected java.lang.String filename
protected java.lang.String[] params
| Constructor Detail |
|---|
protected TrafficStarter(java.lang.String[] params,
int startType)
params - The command line parameters with which the real main class
was loaded.startType - The type of the controller| Method Detail |
|---|
public static int getProgramModus()
public void processParams()
public void processOption(java.lang.String option)
option - option, including dash signpublic void illegalParametersError()
public void start()
public Controller getController()
public java.lang.String getStarterName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||