|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.essex.common.gui.task.LongTaskTest
public class LongTaskTest
Created Date: 25-Jan-2005
Constructor Summary | |
---|---|
LongTaskTest()
|
Method Summary | |
---|---|
int |
getCurrent()
Called from ProgressBarDemo to find out how much has been done. |
int |
getLengthOfTask()
Called from ProgressBarDemo to find out how much work needs to be done. |
java.lang.String |
getMessage()
Returns the most recent status message, or null if there is no current status message. |
void |
go()
Called from ProgressBarDemo to start the task. |
boolean |
isDone()
Called from ProgressBarDemo to find out if the task has completed. |
void |
stop()
Stop the task |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LongTaskTest()
Method Detail |
---|
public void go()
go
in interface LongTask
public int getLengthOfTask()
getLengthOfTask
in interface LongTask
public int getCurrent()
getCurrent
in interface LongTask
public void stop()
LongTask
stop
in interface LongTask
public boolean isDone()
isDone
in interface LongTask
public java.lang.String getMessage()
getMessage
in interface LongTask
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |