|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProgressIndicatorInterface
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 |
---|
void setMinimum(int val)
void setMaximum(int val)
int getMinimum()
int getMaximum()
void setValue(int val)
the
- value to set.int getValue()
void setOrientation(int newOrientation)
newOrientation
- a value indicating the orientation (usually
JProgressBar.VERTICAL or JProgressBar.HORIZONTAL).int getOrientation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |