java.awt
public interface Adjustable
Since: 1.0
UNKNOWN: updated to 1.4
Field Summary | |
---|---|
int | HORIZONTAL Constant for an adjustable object with horizontal orientation. |
int | NO_ORIENTATION Constant for an adjustable object with no orientation. |
int | VERTICAL Constant for an adjustable object with vertical orientation. |
Method Summary | |
---|---|
void | addAdjustmentListener(AdjustmentListener listener)
Adds a listener that will receive adjustment events for this object.
|
int | getBlockIncrement()
Returns the increment value for incrementing the value by blocks.
|
int | getMaximum()
Returns the maximum value this object can have.
|
int | getMinimum()
Returns the minimum value this object can have.
|
int | getOrientation()
Returns a constant representing the orientation of the object.
|
int | getUnitIncrement()
Returns the increment value for incrementing the value by units.
|
int | getValue()
Returns the current value of the object.
|
int | getVisibleAmount()
Returns the length of the indicator for this object.
|
void | removeAdjustmentListener(AdjustmentListener listener)
Removes an adjustment listener from this object.
|
void | setBlockIncrement(int increment)
Sets the increment value for incrementing the value by blocks.
|
void | setMaximum(int maximum)
Sets the maximum value this object can have.
|
void | setMinimum(int minimum)
Sets the minimum value this object can have.
|
void | setUnitIncrement(int increment)
Sets the increment value for incrementing the value by units.
|
void | setValue(int value)
Sets the current value of the object.
|
void | setVisibleAmount(int length)
Sets the length of the indicator for this object to the specified value.
|
Parameters: listener the adjustment listener to add
See Also: AdjustmentEvent
Returns: the block increment value
Returns: the maximum value
Returns: the minimum value
Returns: the orientation of this object
See Also: HORIZONTAL VERTICAL NO_ORIENTATION
Returns: the unit increment value
Returns: the current value
Returns: the indicator length
Parameters: listener the adjustment listener to remove
See Also: AdjustmentEvent
Parameters: increment the block increment value
Parameters: maximum the new maximum value
Parameters: minimum the new minimum value
Parameters: increment the unit increment value
Parameters: value the new value
Parameters: length the indicator length