|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.model.impl.NoopProgressDisplay
User: matthewhorridge
The University Of Manchester
Medical Informatics Group
Date: Sep 13, 2005
Constructor Summary | |
NoopProgressDisplay()
|
Method Summary | |
void |
begin(Task task)
Starts the display of progress to the user. |
void |
end()
Stops (hides) the progress display. |
long |
getDisplayDelay()
Gets the length of time between the task starting and the progress display being displayed. |
boolean |
isModal()
Determines whether or not the progress display is modal and therfore blocks the main event pump when run() is called. |
void |
setMessage(String message)
Sets the message that will be displayed to the user. |
void |
setProgress(int progress)
Updates the value of the progress that is displayed to the user. |
void |
setProgressIndeterminate(boolean b)
Sets the progress display to indicate that the progress cannot be determined, but the task is proceding as normal. |
void |
setSubTaskMessage(String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NoopProgressDisplay()
Method Detail |
public void begin(Task task)
TaskProgressDisplay
getDisplayDelay
method.
begin
in interface TaskProgressDisplay
task
- The Task
whose progress will
be monitored and displayed.public void setProgress(int progress)
TaskProgressDisplay
setProgress
in interface TaskProgressDisplay
progress
- The progress that will
be between the min and max progress for
the Task
public void setProgressIndeterminate(boolean b)
TaskProgressDisplay
setProgressIndeterminate
in interface TaskProgressDisplay
b
- true
if the progress is
indeterminate, or false
if the progress
is not indeterminate.public void setSubTaskMessage(String message)
setSubTaskMessage
in interface TaskProgressDisplay
public void setMessage(String message)
TaskProgressDisplay
setMessage
in interface TaskProgressDisplay
public void end()
TaskProgressDisplay
end
in interface TaskProgressDisplay
public long getDisplayDelay()
TaskProgressDisplay
getDisplayDelay
in interface TaskProgressDisplay
public boolean isModal()
TaskProgressDisplay
run()
is called. For example if the progress
display is a modal JDialog then this method should return
true
since showing the progress display will
block user input until the task has finished and end()
is called. In general, any Swing progress display should be
modal.
isModal
in interface TaskProgressDisplay
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |