VANET Simulator
 All Classes Functions Variables
Public Member Functions | List of all members
vanetsim.gui.controlpanels.SimulateControlPanel Class Reference
Inheritance diagram for vanetsim.gui.controlpanels.SimulateControlPanel:

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)
 

Detailed Description

This class creates all control elements used in the simulation tab.

Constructor & Destructor Documentation

vanetsim.gui.controlpanels.SimulateControlPanel.SimulateControlPanel ( )
inline

Constructor for this control panel.

Member Function Documentation

void vanetsim.gui.controlpanels.SimulateControlPanel.actionPerformed ( ActionEvent  e)
inline

An implemented ActionListener which performs all needed actions when a JButton is clicked.

Parameters
ean ActionEvent
void vanetsim.gui.controlpanels.SimulateControlPanel.itemStateChanged ( ItemEvent  e)
inline

Invoked when an item changes. Used for the JCheckBox.

Parameters
ethe change event
See Also
java.awt.event.ItemListener::itemStateChanged(java.awt.event.ItemEvent)
void vanetsim.gui.controlpanels.SimulateControlPanel.setInformation ( String  newText)
inline

Sets the text in the information area.

Parameters
newTextthe new information text
void vanetsim.gui.controlpanels.SimulateControlPanel.setSimulationStop ( )
inline

Shows the "start simulation" button after simulation has been stopped externally.

void vanetsim.gui.controlpanels.SimulateControlPanel.setZoomValue ( int  zoom)
inline

Sets the value of the zooming slider.

Parameters
zoomthe new zoom value
void vanetsim.gui.controlpanels.SimulateControlPanel.stateChanged ( ChangeEvent  e)
inline

An implemented ChangeListener for the zooming slider which performs the necessary actions.

Parameters
ea ChangeEvent

The documentation for this class was generated from the following file: