gui.dialogs.progress
Interface RunProgressInterface

All Known Implementing Classes:
CheckForDeathJobFile, CheckForDeathJobProperties, RunJob

public interface RunProgressInterface

User: Douglas Lyon Date: Dec 16, 2007 Time: 9:22:38 AM Copyright DocJava, Inc., 2007


Method Summary
 long getCurrent()
          How many ms you have left.
 long getLengthOfTask()
           
 java.lang.String getMessage()
           
 boolean isDone()
           
 void start()
          A way to restart the start or start it for the first time.
 void stop()
          A way to stop the task after starting it.
 

Method Detail

getLengthOfTask

long getLengthOfTask()
Returns:
the length of the task in ms.

start

void start()
A way to restart the start or start it for the first time.


isDone

boolean isDone()
Returns:
true if the task is finished.

stop

void stop()
A way to stop the task after starting it.


getCurrent

long getCurrent()
How many ms you have left.

Returns:

getMessage

java.lang.String getMessage()
Returns:
a message that identifies this task