Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.Scrollbar

Availability: JDK 1.0

public class Scrollbar extends Component implements Adjustable {
   // Public Constructors
      public Scrollbar();
      public Scrollbar(int orientation);
      public Scrollbar(int orientation, int value, int visible, int minimum, int maximum);
   // Constants
      public static final int HORIZONTAL;
      public static final int VERTICAL;
   // Public Instance Methods
1.1  public void addAdjustmentListener(AdjustmentListener l);
      public void addNotify();  // Overrides Component.addNotify()
1.1  public int getBlockIncrement();
#    public int getLineIncrement();
      public int getMaximum();
      public int getMinimum();
      public int getOrientation();
#    public int getPageIncrement();
1.1  public int getUnitIncrement();
      public int getValue();
#    public int getVisible();
1.1  public int getVisibleAmount();
1.1  public void removeAdjustmentListener(AdjustmentListener l);
1.1  public synchronized void setBlockIncrement(int v);
#    public void setLineIncrement(int v);
1.1  public synchronized void setMaximum(int newMaximum);
1.1  public synchronized void setMinimum(int newMinimum);
1.1  public synchronized void setOrientation(int orientation);
#    public void setPageIncrement(int v);
1.1  public synchronized void setUnitIncrement(int v);
      public synchronized void setValue(int newValue);
      public synchronized void setValues(int value, int visible, int minimum, int maximum);
1.1  public synchronized void setVisibleAmount(int newAmount);
   // Protected Instance Methods
      protected String paramString();  // Overrides Component.paramString()
1.1  protected void processAdjustmentEvent(AdjustmentEvent e);
1.1  protected void processEvent(AWTEvent e);  // Overrides Component.processEvent()
}
Passed To:
Toolkit.createScrollbar().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.