Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
javax.swing.JScrollBar

Packages that use JScrollBar
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
javax.swing.plaf.basic | Provides user interface objects built according to the Basic look-and-feel.

Uses of JScrollBar in javax.swing

Subclasses of JScrollBar in javax.swing
`protected class` | `JScrollPane.ScrollBar` By default `JScrollPane` creates scrollbars that are instances of this class.

Fields in javax.swing declared as JScrollBar
`protected JScrollBar` | `ScrollPaneLayout.vsb` The scrollpanes vertical scrollbar child.
`protected JScrollBar` | `ScrollPaneLayout.hsb` The scrollpanes horizontal scrollbar child.
`protected JScrollBar` | `JScrollPane.verticalScrollBar` The scrollpane's vertical scrollbar child.
`protected JScrollBar` | `JScrollPane.horizontalScrollBar` The scrollpane's horizontal scrollbar child.

Methods in javax.swing that return JScrollBar
`JScrollBar` | `ScrollPaneLayout.getHorizontalScrollBar()` Returns the JScrollBar object that handles horizontal scrolling.
`JScrollBar` | `ScrollPaneLayout.getVerticalScrollBar()` Returns the JScrollBar object that handles vertical scrolling.
`JScrollBar` | `JScrollPane.createHorizontalScrollBar()` Returns a `JScrollPane.ScrollBar` by default.
`JScrollBar` | `JScrollPane.getHorizontalScrollBar()` Returns the horizontal scroll bar that controls the viewport's horizontal view position.
`JScrollBar` | `JScrollPane.createVerticalScrollBar()` Returns a `JScrollPane.ScrollBar` by default.
`JScrollBar` | `JScrollPane.getVerticalScrollBar()` Returns the vertical scroll bar that controls the viewports vertical view position.

Methods in javax.swing with parameters of type JScrollBar
`void` | `JScrollPane.setHorizontalScrollBar(JScrollBar horizontalScrollBar)` Adds the scrollbar that controls the viewport's horizontal view position to the scrollpane.
`void` | `JScrollPane.setVerticalScrollBar(JScrollBar verticalScrollBar)` Adds the scrollbar that controls the viewports vertical view position to the scrollpane.

Constructors in javax.swing with parameters of type JScrollBar
`JScrollBar.AccessibleJScrollBar()`

Uses of JScrollBar in javax.swing.plaf.basic

Fields in javax.swing.plaf.basic declared as JScrollBar
`protected JScrollBar` | `BasicScrollBarUI.scrollbar`
`protected JScrollBar` | `BasicTreeUI.ComponentHandler.scrollBar` ScrollBar that is being adjusted.

Methods in javax.swing.plaf.basic with parameters of type JScrollBar
`protected void` | `BasicScrollBarUI.layoutVScrollbar(JScrollBar sb)`
`protected void` | `BasicScrollBarUI.layoutHScrollbar(JScrollBar sb)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.