|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucot.core.DummyProgressBar
public class DummyProgressBar
DummyProgressBar which does absolutely nothing but helps avoiding null values in ProgressBar variables.
Constructor Summary | |
---|---|
DummyProgressBar()
|
Method Summary | |
---|---|
int |
getMaximum()
Gets the maximum value for the progress bar. |
int |
getMinimum()
Gets the minimum value for the progress bar. |
double |
getPercentageComplete()
Gets the current percentage completed. |
java.lang.String |
getString()
Gets the current action description. |
int |
getValue()
Gets the current value of the progress bar. |
void |
setMaximum(int maximum)
Sets the maximum value of the progress bar. |
void |
setMinimum(int minimum)
Sets the minimum value of the progress bar. |
void |
setString(java.lang.String string)
Sets the action description string. |
void |
setValue(int value)
Sets the current value of the progress bar. |
void |
setVisible(boolean visible)
Method for setting the progress bar (dialog) visible or hiding it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyProgressBar()
Method Detail |
---|
public int getMaximum()
ProgressBarInterface
getMaximum
in interface ProgressBarInterface
public int getMinimum()
ProgressBarInterface
getMinimum
in interface ProgressBarInterface
public double getPercentageComplete()
ProgressBarInterface
getPercentageComplete
in interface ProgressBarInterface
public java.lang.String getString()
ProgressBarInterface
getString
in interface ProgressBarInterface
public int getValue()
ProgressBarInterface
getValue
in interface ProgressBarInterface
public void setMaximum(int maximum)
ProgressBarInterface
setMaximum
in interface ProgressBarInterface
maximum
- Maximum value of the progress bar.public void setMinimum(int minimum)
ProgressBarInterface
setMinimum
in interface ProgressBarInterface
minimum
- Minimum value of the progress bar.public void setString(java.lang.String string)
ProgressBarInterface
setString
in interface ProgressBarInterface
string
- Current action description.public void setValue(int value)
ProgressBarInterface
setValue
in interface ProgressBarInterface
value
- Current value.public void setVisible(boolean visible)
ProgressBarInterface
setVisible
in interface ProgressBarInterface
visible
- Indicates wether the progress bar is visible or invisible.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |