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

Public Member Functions

 ProgressOverlay ()
void setVisible (boolean state)
void actionPerformed (ActionEvent e)

Detailed Description

A ProgressBar overlay in an undecorated JDialog. This should be activated when longer calculations are made. The user can't click anywhere else while it's visible.

Constructor & Destructor Documentation

vanetsim.gui.helpers.ProgressOverlay.ProgressOverlay ( )

Instantiates a new progress bar.

Member Function Documentation

void vanetsim.gui.helpers.ProgressOverlay.actionPerformed ( ActionEvent  e)

An implemented ActionListener which allows to exit the program when the Quit-button is clicked.

ean ActionEvent
void vanetsim.gui.helpers.ProgressOverlay.setVisible ( boolean  state)

Overwriting the original setVisible function to always set position in center of screen if it's set to visible.

See Also

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