|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface ProgressIndicatorInterface defines the methods used to operate a 'JProgressBar' object. Other objects may use this interface to optionally operate a progress bar without having to reference the 'JProgressBar' class.
Method Summary | |
int |
getMaximum()
Returns the maximum value for the progress indicator. |
int |
getMinimum()
Returns the minimum value for the progress indicator. |
int |
getOrientation()
Returns the orientation for the progress indicator. |
int |
getValue()
Returns the value for the progress indicator. |
void |
setMaximum(int val)
Sets the maximum value for the progress indicator. |
void |
setMinimum(int val)
Sets the minimum value for the progress indicator. |
void |
setOrientation(int newOrientation)
Sets the orientation for the progress indicator. |
void |
setValue(int val)
Sets the value for the progress indicator. |
Method Detail |
public void setMinimum(int val)
public void setMaximum(int val)
public int getMinimum()
public int getMaximum()
public void setValue(int val)
public int getValue()
public void setOrientation(int newOrientation)
newOrientation
- a value indicating the orientation (usually
JProgressBar.VERTICAL or JProgressBar.HORIZONTAL).public int getOrientation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |