Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.ScrollPane

Availability: JDK 1.1

public class ScrollPane extends Container {
   // Public Constructors
      public ScrollPane();
      public ScrollPane(int scrollbarDisplayPolicy);
   // Constants
      public static final int SCROLLBARS_ALWAYS;
      public static final int SCROLLBARS_AS_NEEDED;
      public static final int SCROLLBARS_NEVER;
   // Public Instance Methods
      public void addNotify();  // Overrides Container.addNotify()
      public void doLayout();  // Overrides Container.doLayout()
      public Adjustable getHAdjustable();
      public int getHScrollbarHeight();
      public Point getScrollPosition();
      public int getScrollbarDisplayPolicy();
      public Adjustable getVAdjustable();
      public int getVScrollbarWidth();
      public Dimension getViewportSize();
#    public void layout();  // Overrides Container.layout()
      public String paramString();  // Overrides Container.paramString()
      public void printComponents(Graphics g);  // Overrides Container.printComponents()
      public final void setLayout(LayoutManager mgr);  // Overrides Container.setLayout()
      public void setScrollPosition(int x, int y);
      public void setScrollPosition(Point p);
   // Protected Instance Methods
      protected final void addImpl(Component comp, Object constraints, int index);  // Overrides Container.addImpl()
}
Passed To:
Toolkit.createScrollPane().

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