|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.townleyenterprises.swing.event.TaskEvent
This is a simple class that is used to propogate task information. It is essentially a snapshot of the "interesting" bits of the task.
Constructor Summary | |
TaskEvent(MonitoredTask source,
java.lang.String status,
int progress)
The constructor takes the task information. |
Method Summary | |
int |
getProgress()
|
MonitoredTask |
getSource()
|
java.lang.String |
getStatus()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TaskEvent(MonitoredTask source, java.lang.String status, int progress)
source
- the task generating the eventstatus
- the status text when the event happenedprogress
- the progress when the event happenedMethod Detail |
public MonitoredTask getSource()
public java.lang.String getStatus()
public int getProgress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |