|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.gui.component.ProgressMonitorAdapter
public class ProgressMonitorAdapter
Provides a progress monitor that does nothing.
Implements a Null-Pattern.
Constructor Summary | |
---|---|
ProgressMonitorAdapter()
|
Method Summary | |
---|---|
void |
done()
Does nothing. |
boolean |
isCancelled()
Returns false. |
void |
setCancelEnabled(boolean enabled)
Does nothing. |
void |
setMaximum(int max)
Does nothing. |
void |
setMinimum(int min)
Does nothing. |
void |
setPercent(double percent)
Does nothing. |
void |
setText(java.lang.String text)
Does nothing. |
void |
setThread(java.lang.Thread thread)
Does nothing. |
void |
setValue(int value)
Does nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProgressMonitorAdapter()
Method Detail |
---|
public void done()
done
in interface ProgressMonitor
public boolean isCancelled()
isCancelled
in interface ProgressMonitor
public void setCancelEnabled(boolean enabled)
setCancelEnabled
in interface ProgressMonitor
public void setMaximum(int max)
setMaximum
in interface ProgressMonitor
public void setMinimum(int min)
setMinimum
in interface ProgressMonitor
public void setPercent(double percent)
setPercent
in interface ProgressMonitor
public void setValue(int value)
setValue
in interface ProgressMonitor
value
- min <= value <= maxpublic void setText(java.lang.String text)
setText
in interface ProgressMonitor
public void setThread(java.lang.Thread thread)
setThread
in interface ProgressMonitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |