All Packages Class Hierarchy This Package Previous Next Index
Interface jclass.bwt.JCAdjustable
- public interface JCAdjustable
The interface for objects which have an adjustable numeric value
contained within a bounded range of values.
-
HORIZONTAL
-
-
VERTICAL
-
-
addAdjustmentListener(JCAdjustmentListener)
- Add a listener to receive 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 proportional indicator.
-
removeAdjustmentListener(JCAdjustmentListener)
- 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
public static final int HORIZONTAL
VERTICAL
public static final int VERTICAL
getOrientation
public abstract int getOrientation()
- Gets the orientation of the adjustable object.
setMinimum
public abstract void setMinimum(int min)
- Sets the minimum value of the adjustable object.
getMinimum
public abstract int getMinimum()
- Gets the minimum value of the adjustable object.
setMaximum
public abstract void setMaximum(int max)
- Sets the maximum value of the adjustable object.
- Parameters:
- max - the maximum value
getMaximum
public abstract int getMaximum()
- Gets the maximum value of the adjustable object.
setUnitIncrement
public abstract void setUnitIncrement(int u)
- Sets the unit value increment for the adjustable object.
getUnitIncrement
public abstract int getUnitIncrement()
- Gets the unit value increment for the adjustable object.
setBlockIncrement
public abstract void setBlockIncrement(int b)
- Sets the block value increment for the adjustable object.
getBlockIncrement
public abstract int getBlockIncrement()
- Gets the block value increment for the adjustable object.
setVisibleAmount
public abstract void setVisibleAmount(int v)
- Sets the length of the proportionl indicator of the adjustable object.
getVisibleAmount
public abstract int getVisibleAmount()
- Gets the length of the proportional indicator.
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.
getValue
public abstract int getValue()
- Gets the current value of the adjustable object.
addAdjustmentListener
public abstract void addAdjustmentListener(JCAdjustmentListener l)
- Add a listener to receive adjustment events when the value of
the adjustable object changes.
- See Also:
- JCAdjustmentEvent
removeAdjustmentListener
public abstract void removeAdjustmentListener(JCAdjustmentListener l)
- Removes an adjustment listener.
- See Also:
- JCAdjustmentEvent
All Packages Class Hierarchy This Package Previous Next Index