|
org.netbeans.api.progress/1 1.5.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.api.progress.aggregate.ProgressContributor
public final class ProgressContributor
A contributor to the aggragete progress indication. This class is not threadsafe, you should access the contributor from one thread only.
Method Summary | |
---|---|
void |
finish()
finish the contributor, possibly also the whole task if this instance was the last one to finish. |
String |
getTrackingId()
an id that allows identification of the progress contributor by the monitor. |
void |
progress(int workunit)
Notify the user about completed workunits. |
void |
progress(String message)
Notify the user about progress by showing message with details. |
void |
progress(String message,
int unit)
Notify the user about completed workunits. |
void |
start(int workunits)
start the progress indication for a task with known number of steps. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getTrackingId()
public void start(int workunits)
workunits
- a total number of workunits that this contributor will process.public void finish()
public void progress(int workunit)
workunit
- a cumulative number of workunits completed so farpublic void progress(String message)
message
- detailed info about current progresspublic void progress(String message, int unit)
message
- detailed info about current progressunit
- a cumulative number of workunits completed so far
|
org.netbeans.api.progress/1 1.5.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |