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

Public Member Functions

 MapSizeDialog (int mapWidth, int mapHeight, int regionWidth, int regionHeight, CyclicBarrier barrier)
 
void actionPerformed (ActionEvent e)
 

Detailed Description

A dialog to set map parameters.

Constructor & Destructor Documentation

vanetsim.gui.controlpanels.MapSizeDialog.MapSizeDialog ( int  mapWidth,
int  mapHeight,
int  regionWidth,
int  regionHeight,
CyclicBarrier  barrier 
)
inline

Instantiates a new map size dialog.

Parameters
mapWidththe initial value in the dialog for the width of the map
mapHeightthe initial value in the dialog for the height of the map
regionWidththe initial value in the dialog for the width of a region
regionHeightthe initial value in the dialog for the height of a region
barriera barrier. You should wait on this barrier to get a clean thread synchronization!

Member Function Documentation

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

An implemented ActionListener which performs the needed actions when the OK-button is clicked.

Parameters
ean ActionEvent

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