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

Public Member Functions

 EditControlPanel ()
 
void receiveMouseEvent (int x, int y)
 
void actionPerformed (ActionEvent e)
 
void stateChanged (ChangeEvent arg0)
 
void setEditMode (boolean state)
 
void setMaxMixZoneRadius ()
 
boolean getEditMode ()
 
EditStreetControlPanel getEditStreetPanel ()
 
EditVehicleControlPanel getEditVehiclePanel ()
 
EditEventControlPanel getEditEventPanel ()
 
EditSettingsControlPanel getEditSettingsPanel ()
 
JTabbedPane getTabbedPane ()
 
EditOneVehicleControlPanel getEditOneVehiclePanel ()
 
MixZonePanel getEditMixZonePanel_ ()
 
AttackerPanel getEditAttackerPanel_ ()
 
EditLogControlPanel getEditLogControlPanel_ ()
 

Detailed Description

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

Constructor & Destructor Documentation

vanetsim.gui.controlpanels.EditControlPanel.EditControlPanel ( )
inline

Constructor for this ControlPanel.

Member Function Documentation

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

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

Parameters
ean ActionEvent
EditEventControlPanel vanetsim.gui.controlpanels.EditControlPanel.getEditEventPanel ( )
inline

Gets the control panel to edit events.

Returns
the control panel
boolean vanetsim.gui.controlpanels.EditControlPanel.getEditMode ( )
inline

Gets the current edit mode.

Returns
true if editing is currently enabled, false if it's disabled
EditOneVehicleControlPanel vanetsim.gui.controlpanels.EditControlPanel.getEditOneVehiclePanel ( )
inline

Gets the editOneVehiclePanel to edit one vehicle.

Returns
the editOneVehiclePanel
EditSettingsControlPanel vanetsim.gui.controlpanels.EditControlPanel.getEditSettingsPanel ( )
inline

Gets the control panel to edit settings.

Returns
the control panel
EditStreetControlPanel vanetsim.gui.controlpanels.EditControlPanel.getEditStreetPanel ( )
inline

Gets the control panel to edit streets.

Returns
the control panel
EditVehicleControlPanel vanetsim.gui.controlpanels.EditControlPanel.getEditVehiclePanel ( )
inline

Gets the control panel to edit vehicles.

Returns
the control panel
JTabbedPane vanetsim.gui.controlpanels.EditControlPanel.getTabbedPane ( )
inline

Gets the tabbed panel for vehicle editing

Returns
the tabbed panel
void vanetsim.gui.controlpanels.EditControlPanel.receiveMouseEvent ( int  x,
int  y 
)
inline

Receives a mouse event and forwards it to the correct control panel.

Parameters
xthe x coordinate
ythe y coordinate
void vanetsim.gui.controlpanels.EditControlPanel.setMaxMixZoneRadius ( )
inline

Gets the maximal Mix-Zone radius used in the actual scenario and sets the variable in Vehicle.java

void vanetsim.gui.controlpanels.EditControlPanel.stateChanged ( ChangeEvent  arg0)
inline

Controls the tabbed pane (tabbedPane_) to switch between edit vehicle modes


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