|
JavaGantt 2011.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProgressMediator
This interface describes a behavior of the UI component, which displays a progress of some long-term operation.
Method Summary | |
---|---|
void |
close()
Closes a progress mediator instance. |
int |
getProgressRange()
Returns maximum progress value. |
int |
getProgressStep()
Returns a current progress step. |
java.lang.String |
getProgressText()
Returns the currently displayed progress text. |
boolean |
isInterrupted()
Returns true is user (in UI) interrupted operation for which is this progress monitor running. |
void |
setProgressRange(int max)
Sets maximum progress value. |
void |
setProgressStep(int step)
Sets the current progress step. |
void |
setProgressText(java.lang.String text)
Sets the progress text to dislay. |
Method Detail |
---|
int getProgressRange()
void setProgressRange(int max)
max
- - maximum progress valueint getProgressStep()
setProgressStep(int)
and is from interval [0,
getProgressRange()
].
void setProgressStep(int step)
setProgressStep(int)
and is from interval [0,
getProgressRange()
].
step
- - a progress step to setjava.lang.String getProgressText()
void setProgressText(java.lang.String text)
text
- - a text to setboolean isInterrupted()
void close()
|
JavaGantt 2011.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |