|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jstacs.utils.GUIProgressUpdater
public class GUIProgressUpdater
This class implements a ProgressUpdater with a GUI.
Constructor Summary | |
---|---|
GUIProgressUpdater(boolean cancelButton)
This is the constructor for a GUIProgressUpdaterBar. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
|
protected void |
finalize()
|
boolean |
isCancelled()
is the process cancelled by the user |
void |
setMax(int max)
sets the maximal value that will be set by setValue(), so a value of max indicates the end of the supervised method call. |
void |
setValue(int value)
sets the current value the supervised process has reached. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GUIProgressUpdater(boolean cancelButton)
cancelButton
- true
if the cancel button shall be addedMethod Detail |
---|
public void setMax(int max)
ProgressUpdater
setMax
in interface ProgressUpdater
max
- the maximal valuepublic void setValue(int value)
ProgressUpdater
setValue
in interface ProgressUpdater
value
- the current valueprotected void finalize()
finalize
in class Object
public boolean isCancelled()
ProgressUpdater
isCancelled
in interface ProgressUpdater
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |