|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.gui.ManageSimTime
From a high level view, the controls what the simulation is doing. It can start, top, pause, speed up, and slow down the simulator. It also contains within it the visual component necessary to make this happen (the start, stop buttons, the slider for controlling time. AvroraGui accesses these visual elements and displays them
Field Summary | |
javax.swing.JPanel |
simTimeEverything
This is a panel that contains all the visual elements of this class. |
Constructor Summary | |
ManageSimTime()
|
Method Summary | |
boolean |
checkAndDispatch(java.awt.event.ActionEvent e)
This function checks to see if an event was caused by this panel. |
static ManageSimTime |
createManageSimTime()
This is a "constructor" - it inits all internal fields It is generally called by AvroraGui when the GUI is being created |
boolean |
sliderAndSpinnerDispatch(javax.swing.event.ChangeEvent e)
This function checks to see if an event was caused by this panel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public javax.swing.JPanel simTimeEverything
Constructor Detail |
public ManageSimTime()
Method Detail |
public static ManageSimTime createManageSimTime()
public boolean checkAndDispatch(java.awt.event.ActionEvent e)
public boolean sliderAndSpinnerDispatch(javax.swing.event.ChangeEvent e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |