Public Member Functions | |
SimulateControlPanel () | |
void | setSimulationStop () |
void | setInformation (String newText) |
void | setZoomValue (int zoom) |
void | actionPerformed (ActionEvent e) |
void | stateChanged (ChangeEvent e) |
void | itemStateChanged (ItemEvent e) |
This class creates all control elements used in the simulation tab.
|
inline |
Constructor for this control panel.
|
inline |
An implemented ActionListener
which performs all needed actions when a JButton
is clicked.
e | an ActionEvent |
|
inline |
Invoked when an item changes. Used for the JCheckBox.
e | the change event |
|
inline |
Sets the text in the information area.
newText | the new information text |
|
inline |
Shows the "start simulation" button after simulation has been stopped externally.
|
inline |
Sets the value of the zooming slider.
zoom | the new zoom value |
|
inline |
An implemented ChangeListener
for the zooming slider which performs the necessary actions.
e | a ChangeEvent |