FileDocCategorySizeDatePackage
Adjustable.javaAPI DocAndroid 1.5 API4311Wed May 06 22:41:54 BST 2009java.awt

Adjustable

public interface Adjustable
The Adjustable interface represents an adjustable numeric value contained within a bounded range of values, such as the current location in scrollable region or the value of a gauge.
since
Android 1.0

Fields Summary
public static final int
HORIZONTAL
The Constant HORIZONTAL indicates that the Adjustable's orientation is horizontal.
public static final int
VERTICAL
The Constant VERTICAL indicates that the Adjustable's orientation is vertical.
public static final int
NO_ORIENTATION
The Constant NO_ORIENTATION indicates that the Adjustable has no orientation.
Constructors Summary
Methods Summary
public voidaddAdjustmentListener(java.awt.event.AdjustmentListener a0)
Adds the AdjustmentListener to current Adjustment.

param
a0 the AdjustmentListener object.

public intgetBlockIncrement()
Gets the block increment of the Adjustable.

return
the block increment of the Adjustable.

public intgetMaximum()
Gets the maximum value of the Adjustable.

return
the maximum value of the Adjustable.

public intgetMinimum()
Gets the minimum value of the Adjustable.

return
the minimum value of the Adjustable.

public intgetOrientation()
Gets the orientation of the Adjustable.

return
the orientation of the Adjustable.

public intgetUnitIncrement()
Gets the unit increment of the Adjustable.

return
the unit increment of the Adjustable.

public intgetValue()
Gets the value of the Adjustable.

return
the current value of the Adjustable.

public intgetVisibleAmount()
Gets the visible amount of the Adjustable.

return
the visible amount of the Adjustable.

public voidremoveAdjustmentListener(java.awt.event.AdjustmentListener a0)
Removes the adjustment listener of the Adjustable.

param
a0 the specified AdjustmentListener to be removed.

public voidsetBlockIncrement(int a0)
Sets the block increment for the Adjustable.

param
a0 the new block increment.

public voidsetMaximum(int a0)
Sets the maximum value of the Adjustable.

param
a0 the new maximum of the Adjustable.

public voidsetMinimum(int a0)
Sets the minimum value of the Adjustable.

param
a0 the new minimum of the Adjustable.

public voidsetUnitIncrement(int a0)
Sets the unit increment of the Adjustable.

param
a0 the new unit increment of the Adjustable.

public voidsetValue(int a0)
Sets the value to the Adjustable object.

param
a0 the new value of the Adjustable object.

public voidsetVisibleAmount(int a0)
Sets the visible amount of the Adjustable.

param
a0 the new visible amount of the Adjustable.