| Modifier and Type | Field and Description |
|---|---|
| public static final int | HORIZONTAL
Indicates that the |
| public static final int | NO_ORIENTATION
Indicates that the |
| public static final int | VERTICAL
Indicates that the |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAdjustmentListener(AdjustmentListener
the listener to receive events l)Adds a listener to receive adjustment events when the value of the adjustable object changes. |
| public int | Returns: the block value increment for the adjustable objectGets the block value increment for the adjustable object. |
| public int | Returns: the maximum value of the adjustable objectGets the maximum value of the adjustable object. |
| public int | Returns: the minimum value of the adjustable objectGets the minimum value of the adjustable object. |
| public int | Returns: the orientation of the adjustable object; eitherHORIZONTAL, VERTICAL,
or NO_ORIENTATIONGets the orientation of the adjustable object. |
| public int | Returns: the unit value increment for the adjustable objectGets the unit value increment for the adjustable object. |
| public int | Returns: the current value of the adjustable objectGets the current value of the adjustable object. |
| public int | Returns: the length of the proportional indicatorGets the length of the proportional indicator. |
| public void | removeAdjustmentListener(AdjustmentListener
the listener being removed l)Removes an adjustment listener. |
| public void | setBlockIncrement(int
the block increment b)Sets the block value increment for the adjustable object. |
| public void | |
| public void | |
| public void | |
| public void | setValue(int
the current value, between v)minimum
and maximum - visibleAmountSets the current value of the adjustable object. |
| public void | setVisibleAmount(int
the length of the indicator v)Sets the length of the proportional indicator of the adjustable object. |
| HORIZONTAL | back to summary |
|---|---|
| public static final int HORIZONTAL Indicates that the | |
| NO_ORIENTATION | back to summary |
|---|---|
| public static final int NO_ORIENTATION Indicates that the | |
| VERTICAL | back to summary |
|---|---|
| public static final int VERTICAL Indicates that the | |
| addAdjustmentListener | back to summary |
|---|---|
| public void addAdjustmentListener(AdjustmentListener l) Adds a listener to receive adjustment events when the value of the adjustable object changes.
| |
| getBlockIncrement | back to summary |
|---|---|
| public int getBlockIncrement() Gets the block value increment for the adjustable object.
| |
| getMaximum | back to summary |
|---|---|
| public int getMaximum() Gets the maximum value of the adjustable object.
| |
| getMinimum | back to summary |
|---|---|
| public int getMinimum() Gets the minimum value of the adjustable object.
| |
| getOrientation | back to summary |
|---|---|
| public int getOrientation() Gets the orientation of the adjustable object.
| |
| getUnitIncrement | back to summary |
|---|---|
| public int getUnitIncrement() Gets the unit value increment for the adjustable object.
| |
| getValue | back to summary |
|---|---|
| public int getValue() Gets the current value of the adjustable object.
| |
| getVisibleAmount | back to summary |
|---|---|
| public int getVisibleAmount() Gets the length of the proportional indicator.
| |
| removeAdjustmentListener | back to summary |
|---|---|
| public void removeAdjustmentListener(AdjustmentListener l) Removes an adjustment listener.
| |
| setBlockIncrement | back to summary |
|---|---|
| public void setBlockIncrement(int b) Sets the block value increment for the adjustable object.
| |
| setMaximum | back to summary |
|---|---|
| public void setMaximum(int max) Sets the maximum value of the adjustable object.
| |
| setMinimum | back to summary |
|---|---|
| public void setMinimum(int min) Sets the minimum value of the adjustable object.
| |
| setUnitIncrement | back to summary |
|---|---|
| public void setUnitIncrement(int u) Sets the unit value increment for the adjustable object.
| |
| setValue | back to summary |
|---|---|
| public void setValue(int v) Sets the current value of the adjustable object. If
the value supplied is less than
Calling this method does not fire an
| |
| setVisibleAmount | back to summary |
|---|---|
| public void setVisibleAmount(int v) Sets the length of the proportional indicator of the adjustable object.
| |