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

Public Member Functions

 EditStreetControlPanel ()
 
void receiveMouseEvent (int x, int y)
 
void actionPerformed (ActionEvent e)
 

Detailed Description

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).

Constructor & Destructor Documentation

vanetsim.gui.controlpanels.EditStreetControlPanel.EditStreetControlPanel ( )
inline

Constructor.

Member Function Documentation

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

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

Parameters
ean ActionEvent
void vanetsim.gui.controlpanels.EditStreetControlPanel.receiveMouseEvent ( int  x,
int  y 
)
inline

Receives a mouse event.

Parameters
xthe x coordinate (in map scale)
ythe y coordinate (in map scale)

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