All Packages Class Hierarchy This Package Previous Next Index
Interface java.awt.Adjustable
- public interface Adjustable
The interface for objects which have an adjustable numeric value
contained within a bounded range of values.
-
HORIZONTAL
- The horizontal orientation.
-
VERTICAL
- The vertical orientation.
-
addAdjustmentListener(AdjustmentListener)
- Add a listener to recieve adjustment events when the value of
the adjustable object changes.
-
getBlockIncrement()
- Gets the block value increment for the adjustable object.
-
getMaximum()
- Gets the maximum value of the adjustable object.
-
getMinimum()
- Gets the minimum value of the adjustable object.
-
getOrientation()
- Gets the orientation of the adjustable object.
-
getUnitIncrement()
- Gets the unit value increment for the adjustable object.
-
getValue()
- Gets the current value of the adjustable object.
-
getVisibleAmount()
- Gets the length of the propertional indicator.
-
removeAdjustmentListener(AdjustmentListener)
- Removes an adjustment listener.
-
setBlockIncrement(int)
- Sets the block value increment for the adjustable object.
-
setMaximum(int)
- Sets the maximum value of the adjustable object.
-
setMinimum(int)
- Sets the minimum value of the adjustable object.
-
setUnitIncrement(int)
- Sets the unit value increment for the adjustable object.
-
setValue(int)
- Sets the current value of the adjustable object.
-
setVisibleAmount(int)
- Sets the length of the proportionl indicator of the
adjustable object.
HORIZONTAL
Properties Public Constant
HORIZONTAL=int
- The horizontal orientation.
VERTICAL
Properties Public Constant
VERTICAL=int
- The vertical orientation.
getOrientation
method getOrientation() returns int public abstract
- Gets the orientation of the adjustable object.
setMinimum
method setMinimum(min=int) public abstract
- Sets the minimum value of the adjustable object.
- Parameters:
- min - the minimum value
getMinimum
method getMinimum() returns int public abstract
- Gets the minimum value of the adjustable object.
setMaximum
method setMaximum(max=int) public abstract
- Sets the maximum value of the adjustable object.
- Parameters:
- max - the maximum value
getMaximum
method getMaximum() returns int public abstract
- Gets the maximum value of the adjustable object.
setUnitIncrement
method setUnitIncrement(u=int) public abstract
- Sets the unit value increment for the adjustable object.
- Parameters:
- u - the unit increment
getUnitIncrement
method getUnitIncrement() returns int public abstract
- Gets the unit value increment for the adjustable object.
setBlockIncrement
method setBlockIncrement(b=int) public abstract
- Sets the block value increment for the adjustable object.
- Parameters:
- b - the block increment
getBlockIncrement
method getBlockIncrement() returns int public abstract
- Gets the block value increment for the adjustable object.
setVisibleAmount
method setVisibleAmount(v=int) public abstract
- Sets the length of the proportionl indicator of the
adjustable object.
- Parameters:
- v - the length of the indicator
getVisibleAmount
method getVisibleAmount() returns int public abstract
- Gets the length of the propertional indicator.
setValue
method setValue(v=int) public abstract
- Sets the current value of the adjustable object. This
value must be within the range defined by the minimum and
maximum values for this object.
- Parameters:
- v - the current value
getValue
method getValue() returns int public abstract
- Gets the current value of the adjustable object.
addAdjustmentListener
method addAdjustmentListener(l=AdjustmentListener) public abstract
- Add a listener to recieve adjustment events when the value of
the adjustable object changes.
- Parameters:
- l - the listener to recieve events
- See Also:
- AdjustmentEvent
removeAdjustmentListener
method removeAdjustmentListener(l=AdjustmentListener) public abstract
- Removes an adjustment listener.
- Parameters:
- l - the listener being removed
- See Also:
- AdjustmentEvent
All Packages Class Hierarchy This Package Previous Next Index