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_ () |
This class creates all control elements used in the edit tab.
|
inline |
Constructor for this ControlPanel.
|
inline |
An implemented ActionListener
which performs all needed actions when a JButton
is clicked.
e | an ActionEvent |
|
inline |
Gets the control panel to edit events.
|
inline |
Gets the current edit mode.
true
if editing is currently enabled, false
if it's disabled
|
inline |
Gets the editOneVehiclePanel to edit one vehicle.
|
inline |
Gets the control panel to edit settings.
|
inline |
Gets the control panel to edit streets.
|
inline |
Gets the control panel to edit vehicles.
|
inline |
Gets the tabbed panel for vehicle editing
|
inline |
Receives a mouse event and forwards it to the correct control panel.
x | the x coordinate |
y | the y coordinate |
|
inline |
Gets the maximal Mix-Zone radius used in the actual scenario and sets the variable in Vehicle.java
|
inline |
Controls the tabbed pane (tabbedPane_) to switch between edit vehicle modes