|
|||||||||||
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.NoopProgressManager
An "empty" implementation of ProgressManager. This is the default choice if the API is used stand-alone.
Constructor Summary | |
NoopProgressManager()
|
Method Summary | |
void |
begin(String title,
boolean canBeCancelled)
Notifies the manager that a new modal process is about to start. |
void |
end()
Notifies the manager that the recently started process has ended. |
boolean |
isCancelled()
Checks if the user has cancelled the current process. |
void |
setIcon(Class iconBaseClass,
String iconName)
Specifies an (optional) icon that can be displayed alongside with the status text. |
void |
setProgress(double progress)
Sets an (optional) value for progress bars. |
void |
setText(String text)
Changes the status text that is being displayed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NoopProgressManager()
Method Detail |
public void begin(String title, boolean canBeCancelled)
ProgressManager
begin
in interface ProgressManager
title
- an (optional) title that could be displayed in a dialog etc.public void end()
ProgressManager
end
in interface ProgressManager
public boolean isCancelled()
ProgressManager
endProcess()
isCancelled
in interface ProgressManager
public void setProgress(double progress)
ProgressManager
setProgress
in interface ProgressManager
progress
- the progress value between 0 and 1public void setIcon(Class iconBaseClass, String iconName)
ProgressManager
setIcon
in interface ProgressManager
iconBaseClass
- the Class that the icon is relative toiconName
- the file name relative to the base classpublic void setText(String text)
ProgressManager
setText
in interface ProgressManager
text
- the new text
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |