org.virion.jam.util
Class SimpleLongTask
java.lang.Object
org.virion.jam.util.LongTask
org.virion.jam.util.SimpleLongTask
public abstract class SimpleLongTask
- extends LongTask
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
current
public int current
length
public int length
pleaseStop
public boolean pleaseStop
message
public String message
description
public String description
SimpleLongTask
public SimpleLongTask()
getLengthOfTask
public int getLengthOfTask()
- Called to find out how much work needs
to be done.
- Specified by:
getLengthOfTask
in class LongTask
getCurrent
public int getCurrent()
- Called to find out how much has been done.
- Specified by:
getCurrent
in class LongTask
stop
public void stop()
- Called to stop task.
- Overrides:
stop
in class LongTask
getMessage
public String getMessage()
- Description copied from class:
LongTask
- Called to get the current message of the task.
- Specified by:
getMessage
in class LongTask
getDescription
public String getDescription()
- Description copied from class:
LongTask
- Called to get the description of this task.
- Overrides:
getDescription
in class LongTask