|
Modifier and Type |
Method and Description |
 |
addAdjustmentListener   |
void addAdjustmentListener(AdjustmentListener l)
Adds a listener to receive adjustment events when the value of
the adjustable object changes.
-
Adds a listener to receive adjustment events when the value of
the adjustable object changes.
- Parameters:
l - the listener to receive events- See Also:
AdjustmentEvent
|
 |
getBlockIncrement   |
int getBlockIncrement()
Gets the block value increment for the adjustable object.
int getBlockIncrement()
-
Gets the block value increment for the adjustable object.
- Returns:
- the block value increment for the adjustable object
|
 |
getMaximum   |
int getMaximum()
Gets the maximum value of the adjustable object.
int getMaximum()
-
Gets the maximum value of the adjustable object.
- Returns:
- the maximum value of the adjustable object
|
 |
getMinimum   |
int getMinimum()
Gets the minimum value of the adjustable object.
int getMinimum()
-
Gets the minimum value of the adjustable object.
- Returns:
- the minimum value of the adjustable object
|
 |
getOrientation   |
int getOrientation()
Gets the orientation of the adjustable object.
int getOrientation()
-
Gets the orientation of the adjustable object.
- Returns:
- the orientation of the adjustable object;
either
HORIZONTAL , VERTICAL ,
or NO_ORIENTATION
|
 |
getUnitIncrement   |
int getUnitIncrement()
Gets the unit value increment for the adjustable object.
int getUnitIncrement()
-
Gets the unit value increment for the adjustable object.
- Returns:
- the unit value increment for the adjustable object
|
 |
getValue   |
int getValue()
Gets the current value of the adjustable object.
int getValue()
-
Gets the current value of the adjustable object.
- Returns:
- the current value of the adjustable object
|
 |
getVisibleAmount   |
int getVisibleAmount()
Gets the length of the proportional indicator.
int getVisibleAmount()
-
Gets the length of the proportional indicator.
- Returns:
- the length of the proportional indicator
|
 |
removeAdjustmentListener   |
void removeAdjustmentListener(AdjustmentListener l)
Removes an adjustment listener.
-
Removes an adjustment listener.
- Parameters:
l - the listener being removed- See Also:
AdjustmentEvent
|
 |
setBlockIncrement   |
void setBlockIncrement(int b)
Sets the block value increment for the adjustable object.
void setBlockIncrement(int b)
-
Sets the block value increment for the adjustable object.
- Parameters:
b - the block increment
|
 |
setMaximum   |
void setMaximum(int max)
Sets the maximum value of the adjustable object.
void setMaximum(int max)
-
Sets the maximum value of the adjustable object.
- Parameters:
max - the maximum value
|
 |
setMinimum   |
void setMinimum(int min)
Sets the minimum value of the adjustable object.
void setMinimum(int min)
-
Sets the minimum value of the adjustable object.
- Parameters:
min - the minimum value
|
 |
setUnitIncrement   |
void setUnitIncrement(int u)
Sets the unit value increment for the adjustable object.
void setUnitIncrement(int u)
-
Sets the unit value increment for the adjustable object.
- Parameters:
u - the unit increment
|
 |
setValue   |
void setValue(int v)
Sets the current value of the adjustable object.
void setValue(int v)
-
Sets the current value of the adjustable object. If
the value supplied is less than minimum
or greater than maximum - visibleAmount ,
then one of those values is substituted, as appropriate.
Calling this method does not fire an
AdjustmentEvent .
- Parameters:
v - the current value, between minimum
and maximum - visibleAmount
|
 |
setVisibleAmount   |
void setVisibleAmount(int v)
Sets the length of the proportional indicator of the
adjustable object.
void setVisibleAmount(int v)
-
Sets the length of the proportional indicator of the
adjustable object.
- Parameters:
v - the length of the indicator
|