|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleTaskStatus
Method Summary | |
---|---|
void |
abort()
Used by the task to inform that it has terminated with errors. |
void |
add()
Add this TaskStatus to the TaskStatusManager. |
void |
cancel()
Used by the task to inform that it has terminated cancelled by the user or another task. |
boolean |
getAutoRemove()
Return the autoremove value of this TaskStatus. |
void |
message(String message)
Used by the task to set a message associated to the current action of the task |
void |
remove()
Remove this TaskStatus from the TaskStatusManager |
void |
setAutoremove(boolean autoremove)
Used by the task to inform that this TaskStatus is removed from the manager automatically when the task is terminated and the manager need. |
void |
setCancellable(boolean cancellable)
Used by the task to inform that this task es cacellable. |
void |
setCurValue(long value)
Used by the task to set the current step of the task. |
void |
setRangeOfValues(long min,
long max)
Used by the task to set the value for min and max steps of the task. |
void |
setTitle(String title)
Used by the task to set the title associated to the task. |
void |
setTittle(String tittle)
Deprecated. @see setTitle(String) |
void |
terminate()
Used by the task to inform that it has terminated without errors. |
Methods inherited from interface org.gvsig.tools.task.TaskStatus |
---|
getCode, getCompleted, getLabel, getLastModification, getManager, getTitle, isAborted, isCancellable, isCancelled, isIndeterminate, isRunning |
Methods inherited from interface org.gvsig.tools.task.CancellableTask |
---|
cancelRequest, isCancellationRequested |
Methods inherited from interface org.gvsig.tools.observer.Observable |
---|
addObserver, deleteObserver, deleteObservers |
Method Detail |
---|
void setTittle(String tittle)
setTitle(String)
tittle
- void setTitle(String title)
title
- void message(String message)
message
- void setRangeOfValues(long min, long max)
min
- max
- void setCurValue(long value)
value
- setRangeOfValues
void terminate()
void cancel()
void abort()
void remove()
void add()
void setCancellable(boolean cancellable)
cancellable
- void setAutoremove(boolean autoremove)
autoremove
- boolean getAutoRemove()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |