|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vanetsim.VanetSimStart
public final class VanetSimStart
This is the main class for the VANet-Simulator which starts the GUI and all other components.
Constructor Summary | |
---|---|
VanetSimStart()
|
Method Summary | |
---|---|
static DrawingArea |
addComponentsToPane(java.awt.Container container)
Function to add the control elements to a container. |
static MainControlPanel |
getMainControlPanel()
Gets the control panel on the right side. |
static javax.swing.JFrame |
getMainFrame()
Gets the initial JFrame of the application. |
static SimulationMaster |
getSimulationMaster()
Returns the simulation master (for example in order to stop or start simulation). |
void |
run()
Thread which creates the GUI. |
static void |
setProgressBar(boolean state)
Sets the display state of the progress bar. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VanetSimStart()
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
Runnable.run()
public static DrawingArea addComponentsToPane(java.awt.Container container)
container
- the container on which to add the elements
DrawingArea
public static void setProgressBar(boolean state)
state
- true
to display the progress bar, false
to disable itpublic static MainControlPanel getMainControlPanel()
public static javax.swing.JFrame getMainFrame()
JFrame
of the application.
JFrame
public static SimulationMaster getSimulationMaster()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |