|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.vxart.zipupdate.ui.ProgressDialog
public class ProgressDialog
Constructor Summary | |
---|---|
ProgressDialog()
|
Method Summary | |
---|---|
void |
finish()
Finishes the display of progress by a progress listener, e.g. |
int |
getProgress()
Returns the latest value set by the update method. |
void |
init(java.lang.String message)
Sets or resets this listener to indeterminate mode and labels it with the given message. |
void |
init(java.lang.String message,
int min,
int max)
Sets or resets this listener to determinate mode using the specified message, minimum and maximum values. |
void |
label(java.lang.String message)
Labels the current task with the specified string. |
void |
update(int value)
Updates the progress to the specified value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProgressDialog()
Method Detail |
---|
public void init(java.lang.String message)
ProgressListener
init
in interface ProgressListener
public void init(java.lang.String message, int min, int max)
ProgressListener
init
in interface ProgressListener
public void update(int value)
ProgressListener
update
in interface ProgressListener
value
- the new progress valuepublic void label(java.lang.String message)
ProgressListener
label
in interface ProgressListener
message
- a label describing the current taskpublic int getProgress()
ProgressListener
getProgress
in interface ProgressListener
public void finish()
ProgressListener
finish
in interface ProgressListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |