|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.virion.jam.util.LongTask
public abstract class LongTask
Constructor Summary | |
---|---|
LongTask()
|
Method Summary | |
---|---|
boolean |
done()
Called to find out if the task has completed. |
abstract Object |
doWork()
Does the actual work and returns some kind of result. |
Object |
getAnswer()
|
abstract int |
getCurrent()
Called to find out how much has been done. |
String |
getDescription()
Called to get the description of this task. |
abstract int |
getLengthOfTask()
Called to find out how much work needs to be done. |
abstract String |
getMessage()
Called to get the current message of the task. |
void |
go()
Called to start the task. |
void |
stop()
Called to stop task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LongTask()
Method Detail |
---|
public abstract Object doWork() throws Exception
Exception
public final void go()
public final Object getAnswer()
public abstract int getLengthOfTask()
public abstract int getCurrent()
public void stop()
public boolean done()
public abstract String getMessage()
public String getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |