Public Member Functions | |
MainControlPanel () | |
JFileChooser | getFileChooser () |
void | changeFileChooser (boolean acceptAll, boolean acceptXML, boolean acceptOSM) |
SimulateControlPanel | getSimulatePanel () |
EditControlPanel | getEditPanel () |
ReportingControlPanel | getReportingPanel () |
Component | getSelectedTabComponent () |
void | stateChanged (ChangeEvent e) |
This class creates the control elements on the right side of the DrawingArea. The control panels itself are packed into a JTabbedPane
and can be found in separate classes.
|
inline |
Constructor for the main control panel.
|
inline |
Changes the available file choosers of the central JFileChooser
.
acceptAll | adds a file chooser to select all files |
acceptXML | adds a file chooser to select XML files |
acceptOSM | adds a file chooser to select OpenStreetMap-files (*.osm) |
|
inline |
Gets the control panel on the edit tab.
|
inline |
Gets the central JFileChooser
. If it does not exist, it waits until it's created in the separate thread started from the constructor.
|
inline |
Gets the control panel on the reporting tab.
|
inline |
Gets the currently selected tab component.
|
inline |
Gets the control panel on the simulation tab.
|
inline |
An implemented ChangeListener
for the tabs.
e | a ChangeEvent |