|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Status
The status interface provides common methods for reporting an objects progress and description. The common Status object to use is the StatusBar object.
Method Summary | |
---|---|
boolean |
isCancelled()
Returns a boolean value for whether or not the object reporting a status has been cancelled. |
void |
resetStatus()
Resets the status object. |
void |
setBackgroundText(java.lang.String str)
The string displaying the current background monitoring status. |
void |
setIndeterminateProgress(boolean b)
Sets the reported progress of a task to an indeterminate length either on or off. |
void |
setProgress(int progress)
The current progress of a running a task from 0 - 100. |
void |
setStatusText(java.lang.String str)
The text string diplaying the current status of a task. |
Method Detail |
---|
void setStatusText(java.lang.String str)
str
- The text string displaying the current status of a task.void setBackgroundText(java.lang.String str)
str
- The string displaying the current background monitoring status.void setProgress(int progress)
progress
- The current progress of a running a task from 0 - 100.void setIndeterminateProgress(boolean b)
b
- Sets the progress of a task to an indeterminate length of time
to either on or off.void resetStatus()
boolean isCancelled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |