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 ( )
inline

Instantiates a new progress bar.

Member Function Documentation

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

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

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

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

See Also
java.awt.Window::setVisible(boolean)

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