API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. ScrollPaneAdjustable View Source
Author(s)
Since
1.4
Version
1.11 07/11/06
Serial
Hierarchy
 Object
      ScrollPaneAdjustable
Implements
 Adjustable
 Serializable
Subclasses
Description
public class ScrollPaneAdjustable
  This class represents the state of a horizontal or vertical scrollbar of a ScrollPane.
See also:   
Constructors
pack-private ScrollPaneAdjustable (ScrollPane sp, AdjustmentListener l, int orientation)
  Constructs a new object to represent specified scrollabar of the specified ScrollPane.
Methods
Hide/Show inherited methods
publicsynchronized void addAdjustmentListener (AdjustmentListener l) [Specified in Adjustable]
  Adds the specified adjustment listener to receive adjustment events from this ScrollPaneAdjustable.
publicsynchronized AdjustmentListener getAdjustmentListeners ()
  Returns an array of all the adjustment listeners registered on this ScrollPaneAdjustable.
public int getBlockIncrement () [Specified in Adjustable]
public int getMaximum () [Specified in Adjustable]
public int getMinimum () [Specified in Adjustable]
public int getOrientation () [Specified in Adjustable]
  Returns the orientation of this scrollbar.
public int getUnitIncrement () [Specified in Adjustable]
public int getValue () [Specified in Adjustable]
public boolean getValueIsAdjusting ()
  Returns true if the value is in the process of changing as a result of actions being taken by the user.
public int getVisibleAmount () [Specified in Adjustable]
public String paramString ()
  Returns a string representing the state of this scrollbar.
publicsynchronized void removeAdjustmentListener (AdjustmentListener l) [Specified in Adjustable]
  Removes the specified adjustment listener so that it no longer receives adjustment events from this ScrollPaneAdjustable.
publicsynchronized void setBlockIncrement (int b) [Specified in Adjustable]
public void setMaximum (int max) [Specified in Adjustable]
  This method should NOT be called by user code.
public void setMinimum (int min) [Specified in Adjustable]
  This method should NOT be called by user code.
pack-private void setSpan (int min, int max, int visible)
  This is called by the scrollpane itself to update the minimum, maximum and visible values.
publicsynchronized void setUnitIncrement (int u) [Specified in Adjustable]
public void setValue (int v) [Specified in Adjustable]
  Sets the value of this scrollbar to the specified value.
public void setValueIsAdjusting (boolean b)
  Sets the valueIsAdjusting property.
public void setVisibleAmount (int v) [Specified in Adjustable]
  This method should NOT be called by user code.
public String toString ()
  Returns a string representation of this scrollbar and its values.
Fields
Hide/Show inherited fields
publicfinalstatic int HORIZONTAL = "0" [Inherited From Adjustable]
Indicates that the Adjustable has horizontal orientation.
publicfinalstatic int NO_ORIENTATION = "2" [Inherited From Adjustable]
Indicates that the Adjustable has no orientation.
publicfinalstatic int VERTICAL = "1" [Inherited From Adjustable]
Indicates that the Adjustable has vertical orientation.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar