charva.awt
Interface Adjustable
- JScrollBar
public interface Adjustable
The interface for objects that have an adjustable numeric value
constrained within a bounded range of values.
HORIZONTAL
public static final int HORIZONTAL
VERTICAL
public static final int VERTICAL
getBlockIncrement
public int getBlockIncrement()
Gets the block increment (the amount by which the value will
change when the arrow keys are pressed).
getMaximum
public int getMaximum()
Gets the maximum value of the adjustable object.
getMinimum
public int getMinimum()
Gets the minimum value of the adjustable object.
getOrientation
public int getOrientation()
Gets the orientation of the object.
getValue
public int getValue()
Gets the value of the adjustable object.
getVisibleAmount
public int getVisibleAmount()
Gets the length of the proportional indicator.
processAdjustmentEvent
public void processAdjustmentEvent(AdjustmentEvent evt_)
removeAdjustmentListener
public void removeAdjustmentListener(AdjustmentListener listener_)
setBlockIncrement
public void setBlockIncrement(int val_)
Sets the block increment
setMaximum
public void setMaximum(int val_)
Sets the maximum value of the adjustable object.
setMinimum
public void setMinimum(int val_)
Sets the minimum value of the adjustable object.
setValue
public void setValue(int val_)
Sets the value of the adjustable object.
setVisibleAmount
public void setVisibleAmount(int val_)
Sets the length of the proportional indicator.