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.


Variable Index

 o HORIZONTAL
The horizontal orientation.
 o VERTICAL
The vertical orientation.

Method Index

 o addAdjustmentListener(AdjustmentListener)
Add a listener to recieve adjustment events when the value of the adjustable object changes.
 o getBlockIncrement()
Gets the block value increment for the adjustable object.
 o getMaximum()
Gets the maximum value of the adjustable object.
 o getMinimum()
Gets the minimum value of the adjustable object.
 o getOrientation()
Gets the orientation of the adjustable object.
 o getUnitIncrement()
Gets the unit value increment for the adjustable object.
 o getValue()
Gets the current value of the adjustable object.
 o getVisibleAmount()
Gets the length of the propertional indicator.
 o removeAdjustmentListener(AdjustmentListener)
Removes an adjustment listener.
 o setBlockIncrement(int)
Sets the block value increment for the adjustable object.
 o setMaximum(int)
Sets the maximum value of the adjustable object.
 o setMinimum(int)
Sets the minimum value of the adjustable object.
 o setUnitIncrement(int)
Sets the unit value increment for the adjustable object.
 o setValue(int)
Sets the current value of the adjustable object.
 o setVisibleAmount(int)
Sets the length of the proportionl indicator of the adjustable object.

Variables

 o HORIZONTAL
 public static final int HORIZONTAL
The horizontal orientation.

 o VERTICAL
 public static final int VERTICAL
The vertical orientation.

Methods

 o getOrientation
 public abstract int getOrientation()
Gets the orientation of the adjustable object.

 o setMinimum
 public abstract void setMinimum(int min)
Sets the minimum value of the adjustable object.

Parameters:
min - the minimum value
 o getMinimum
 public abstract int getMinimum()
Gets the minimum value of the adjustable object.

 o setMaximum
 public abstract void setMaximum(int max)
Sets the maximum value of the adjustable object.

Parameters:
max - the maximum value
 o getMaximum
 public abstract int getMaximum()
Gets the maximum value of the adjustable object.

 o setUnitIncrement
 public abstract void setUnitIncrement(int u)
Sets the unit value increment for the adjustable object.

Parameters:
u - the unit increment
 o getUnitIncrement
 public abstract int getUnitIncrement()
Gets the unit value increment for the adjustable object.

 o setBlockIncrement
 public abstract void setBlockIncrement(int b)
Sets the block value increment for the adjustable object.

Parameters:
b - the block increment
 o getBlockIncrement
 public abstract int getBlockIncrement()
Gets the block value increment for the adjustable object.

 o setVisibleAmount
 public abstract void setVisibleAmount(int v)
Sets the length of the proportionl indicator of the adjustable object.

Parameters:
v - the length of the indicator
 o getVisibleAmount
 public abstract int getVisibleAmount()
Gets the length of the propertional indicator.

 o setValue
 public abstract void setValue(int v)
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
 o getValue
 public abstract int getValue()
Gets the current value of the adjustable object.

 o addAdjustmentListener
 public abstract void addAdjustmentListener(AdjustmentListener l)
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
 o removeAdjustmentListener
 public abstract void removeAdjustmentListener(AdjustmentListener l)
Removes an adjustment listener.

Parameters:
l - the listener being removed
See Also:
AdjustmentEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index