|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.bs.mdi.swing.SwingProgressMonitor
A ProgressMonitor which uses Swing components for display.
| Constructor Summary | |
SwingProgressMonitor(JProgressBar progressBar)
Creates a new SwingProgressMonitor, which uses the specified progress bar to give the user feedback about currently running tasks. |
|
| Method Summary | |
void |
actionPerformed(ActionEvent e)
|
void |
add(Task task)
Registers the given Task. |
protected void |
finalize()
|
void |
remove(Task task)
Unregisters the given Task. |
protected void |
update()
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SwingProgressMonitor(JProgressBar progressBar)
progressBar - the progress bar used for display| Method Detail |
public void add(Task task)
ProgressMonitor
add in interface ProgressMonitortask - public void remove(Task task)
ProgressMonitor
remove in interface ProgressMonitortask - public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerprotected void update()
protected void finalize()
throws Throwable
Throwable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||