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

Public Member Functions

 EditSettingsControlPanel ()
 
void setCommunication (boolean state)
 
void setBeacons (boolean state)
 
void setMixZonesEnabled (boolean state)
 
void setMixZonesFallbackEnabled (boolean state)
 
void setMixZonesFallbackFloodingOnly (boolean state)
 
void setRecyclingEnabled (boolean state)
 
void setGlobalInfrastructure (boolean state)
 
void setCommunicationInterval (int communicationInterval)
 
void setBeaconInterval (int beaconInterval)
 
void setMixZoneRadius (int mixZoneRadius)
 
void setRoutingMode (int mode)
 
void itemStateChanged (ItemEvent e)
 
void propertyChange (PropertyChangeEvent e)
 

Detailed Description

The control panel for changing some basic settings.

Constructor & Destructor Documentation

vanetsim.gui.controlpanels.EditSettingsControlPanel.EditSettingsControlPanel ( )
inline

Constructor.

Member Function Documentation

void vanetsim.gui.controlpanels.EditSettingsControlPanel.itemStateChanged ( ItemEvent  e)
inline

Invoked when an item changes. Used for the JCheckBoxes and JComboBoxes.

Parameters
ethe change event
See Also
java.awt.event.ItemListener::itemStateChanged(java.awt.event.ItemEvent)
void vanetsim.gui.controlpanels.EditSettingsControlPanel.propertyChange ( PropertyChangeEvent  e)
inline

Invoked when a field which is associated with this PropertyListener is changed.

Parameters
ethe change event
See Also
java.beans.PropertyChangeListener::propertyChange(java.beans.PropertyChangeEvent)
void vanetsim.gui.controlpanels.EditSettingsControlPanel.setBeaconInterval ( int  beaconInterval)
inline

Sets a new value in the beacon interval input field.

Parameters
beaconIntervalthe new value (in ms)
void vanetsim.gui.controlpanels.EditSettingsControlPanel.setBeacons ( boolean  state)
inline

Sets a new state for the beaconsCheckBox.

Parameters
statethe new state
void vanetsim.gui.controlpanels.EditSettingsControlPanel.setCommunication ( boolean  state)
inline

Sets a new state for for the communicationCheckBox.

Parameters
statethe new state
void vanetsim.gui.controlpanels.EditSettingsControlPanel.setCommunicationInterval ( int  communicationInterval)
inline

Sets a new value in the communication interval input field.

Parameters
communicationIntervalthe new value (in ms)
void vanetsim.gui.controlpanels.EditSettingsControlPanel.setGlobalInfrastructure ( boolean  state)
inline

Sets a new state for the communication for the globalInfrastructureCheckBox.

Parameters
statethe new state
void vanetsim.gui.controlpanels.EditSettingsControlPanel.setMixZoneRadius ( int  mixZoneRadius)
inline

Sets a new value in the mix distance input field.

Parameters
mixZoneRadiusthe new value (in cm)
void vanetsim.gui.controlpanels.EditSettingsControlPanel.setMixZonesEnabled ( boolean  state)
inline

Sets a new state for the mixZonesCheckBox.

Parameters
statethe new state
void vanetsim.gui.controlpanels.EditSettingsControlPanel.setMixZonesFallbackEnabled ( boolean  state)
inline

Sets a new state for the fallbackInMixZonesCheckbox.

Parameters
statethe new state
void vanetsim.gui.controlpanels.EditSettingsControlPanel.setMixZonesFallbackFloodingOnly ( boolean  state)
inline

Sets a new state for the fallbackInMixZonesFloodingOnlyCheckBox.

Parameters
statethe new state
void vanetsim.gui.controlpanels.EditSettingsControlPanel.setRecyclingEnabled ( boolean  state)
inline

Sets a new state for the recycling checkbox.

Parameters
statethe new state
void vanetsim.gui.controlpanels.EditSettingsControlPanel.setRoutingMode ( int  mode)
inline

Sets a new value for the routing mode choice field.

Parameters
modethe new value

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