Public Member Functions | |
| VehicleTypeDialog () | |
| void | actionPerformed (ActionEvent e) |
| void | clearGui () |
| void | openFile (String file) |
| boolean | compareTypeList (ArrayList< VehicleType > list1, ArrayList< VehicleType > list2) |
| void | saveType (VehicleType tmpType) |
| void | saveQuestions () |
| void | removeEmptyTypes () |
| void | closeDialog () |
| void | mouseClicked (MouseEvent e) |
| void | mouseEntered (MouseEvent e) |
| void | mouseExited (MouseEvent e) |
| void | mousePressed (MouseEvent e) |
| void | mouseReleased (MouseEvent e) |
| void | windowActivated (WindowEvent e) |
A dialog to create,edit and delete vehicle type files.
|
inline |
Constructor. Creating GUI items.
|
inline |
An implemented ActionListener which performs the needed actions when the combobox or buttons (load, save, delete ...) are clicked.
| e | an ActionEvent |
|
inline |
Removes all items of JCombobox Sets all gui fields to 0 or false
|
inline |
Methode is evoked when closing JDialog
|
inline |
Compares two vehicle type arraylists if they are different
|
inline |
Mouse listener to open a JColorChooser when colorPreview_ Panel is clicked
|
inline |
Clears the JCombobox and adds new items from xml File
|
inline |
Remove JCombobox item if name is empty
|
inline |
Save gui fields values to VehicleType object
|
inline |
Save gui fields values to VehicleType object
| ParseException |
1.8.3.1