Public Member Functions | |
EditStreetControlPanel () | |
void | receiveMouseEvent (int x, int y) |
void | actionPerformed (ActionEvent e) |
This class represents the control panel for adding, deleting and editing streets. All elements are created here and the actions are performed from here.
All control elements exist twice - once for editing ("edit" prefix) and once for creating a new street ("new" prefix).
|
inline |
Constructor.
|
inline |
An implemented ActionListener
which performs all needed actions when a JButton
is clicked.
e | an ActionEvent |
|
inline |
Receives a mouse event.
x | the x coordinate (in map scale) |
y | the y coordinate (in map scale) |