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.


Variable Index

 o HORIZONTAL
 o VERTICAL

Method Index

 o addAdjustmentListener(JCAdjustmentListener)
Add a listener to receive 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 proportional indicator.
 o removeAdjustmentListener(JCAdjustmentListener)
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
 o VERTICAL
 public static final int VERTICAL

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.

 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.

 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.

 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.

 o getVisibleAmount
 public abstract int getVisibleAmount()
Gets the length of the proportional 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.

 o getValue
 public abstract int getValue()
Gets the current value of the adjustable object.

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

See Also:
JCAdjustmentEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index