API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. Adjustable View Source
Author(s)
Amy Fowler
Tim Prinzing
Since
Version
1.19 11/17/05
Serial
Hierarchy
 Adjustable
Subinterfaces
Description
public interface Adjustable
The interface for objects which have an adjustable numeric value contained within a bounded range of values.
See also:   
Methods
Hide/Show inherited methods
public void addAdjustmentListener (AdjustmentListener l)
  Adds a listener to receive adjustment events when the value of the adjustable object changes.
public int getBlockIncrement ()
  Gets the block value increment for the adjustable object.
public int getMaximum ()
  Gets the maximum value of the adjustable object.
public int getMinimum ()
  Gets the minimum value of the adjustable object.
public int getOrientation ()
  Gets the orientation of the adjustable object.
public int getUnitIncrement ()
  Gets the unit value increment for the adjustable object.
public int getValue ()
  Gets the current value of the adjustable object.
public int getVisibleAmount ()
  Gets the length of the proportional indicator.
public void removeAdjustmentListener (AdjustmentListener l)
  Removes an adjustment listener.
public void setBlockIncrement (int b)
  Sets the block value increment for the adjustable object.
public void setMaximum (int max)
  Sets the maximum value of the adjustable object.
public void setMinimum (int min)
  Sets the minimum value of the adjustable object.
public void setUnitIncrement (int u)
  Sets the unit value increment for the adjustable object.
public void setValue (int v)
  Sets the current value of the adjustable object.
public void setVisibleAmount (int v)
  Sets the length of the proportional indicator of the adjustable object.
Fields
Hide/Show inherited fields
publicfinalstatic int HORIZONTAL = "0"
Indicates that the Adjustable has horizontal orientation.
publicfinalstatic int NO_ORIENTATION = "2"
Indicates that the Adjustable has no orientation.
publicfinalstatic int VERTICAL = "1"
Indicates that the Adjustable has vertical orientation.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar