A dialog to set map parameters.
vanetsim.gui.controlpanels.MapSizeDialog.MapSizeDialog |
( |
int |
mapWidth, |
|
|
int |
mapHeight, |
|
|
int |
regionWidth, |
|
|
int |
regionHeight, |
|
|
CyclicBarrier |
barrier |
|
) |
| |
|
inline |
Instantiates a new map size dialog.
- Parameters
-
mapWidth | the initial value in the dialog for the width of the map |
mapHeight | the initial value in the dialog for the height of the map |
regionWidth | the initial value in the dialog for the width of a region |
regionHeight | the initial value in the dialog for the height of a region |
barrier | a barrier. You should wait on this barrier to get a clean thread synchronization! |
void vanetsim.gui.controlpanels.MapSizeDialog.actionPerformed |
( |
ActionEvent |
e | ) |
|
|
inline |
An implemented ActionListener
which performs the needed actions when the OK-button is clicked.
- Parameters
-
The documentation for this class was generated from the following file:
- /Users/andreastomandl/Desktop/Vanet-Sim/Simulator/src/vanetsim/gui/controlpanels/MapSizeDialog.java