public interface Tracker<C>
ChangeEvent
and any registered
TaskListener
is notified.
Calls to publish(Object[])
are routed back to Task.process(java.util.List)
which is executed on the UI thread. See UIThreadWorker
for details.Modifier and Type | Method and Description |
---|---|
void |
publish(C... chunks) |
void |
setPhase(String phase) |
void |
setProgress(int progress)
Set the current progress.
|
void |
setProgress(int min,
int max,
int current)
Set the current progress.
|
void setProgress(int progress)
progress
must be a value
from 0 to 100 (inclusive).progress
- void setProgress(int min, int max, int current)
min
- max
- current
- void setPhase(String phase)
void publish(C... chunks)