Uses of Class
javax.swing.JScrollBar
| Package | Description |
|---|---|
| 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 Modifier and Type Class Description protected classJScrollPane.ScrollBarBy defaultJScrollPanecreates scrollbars that are instances of this class.Fields in javax.swing declared as JScrollBar Modifier and Type Field Description protected JScrollBarJScrollPane. horizontalScrollBarThe scrollpane's horizontal scrollbar child.protected JScrollBarScrollPaneLayout. hsbThe scrollpane's horizontal scrollbar child.protected JScrollBarJScrollPane. verticalScrollBarThe scrollpane's vertical scrollbar child.protected JScrollBarScrollPaneLayout. vsbThe scrollpane's vertical scrollbar child.Methods in javax.swing that return JScrollBar Modifier and Type Method Description JScrollBarJScrollPane. createHorizontalScrollBar()Returns aJScrollPane.ScrollBarby default.JScrollBarJScrollPane. createVerticalScrollBar()Returns aJScrollPane.ScrollBarby default.JScrollBarJScrollPane. getHorizontalScrollBar()Returns the horizontal scroll bar that controls the viewport's horizontal view position.JScrollBarScrollPaneLayout. getHorizontalScrollBar()Returns theJScrollBarobject that handles horizontal scrolling.JScrollBarJScrollPane. getVerticalScrollBar()Returns the vertical scroll bar that controls the viewports vertical view position.JScrollBarScrollPaneLayout. getVerticalScrollBar()Returns theJScrollBarobject that handles vertical scrolling.Methods in javax.swing with parameters of type JScrollBar Modifier and Type Method Description voidJScrollPane. setHorizontalScrollBar(JScrollBar horizontalScrollBar)Adds the scrollbar that controls the viewport's horizontal view position to the scrollpane.voidJScrollPane. setVerticalScrollBar(JScrollBar verticalScrollBar)Adds the scrollbar that controls the viewports vertical view position to the scrollpane. -
Uses of JScrollBar in javax.swing.plaf.basic
Fields in javax.swing.plaf.basic declared as JScrollBar Modifier and Type Field Description protected JScrollBarBasicScrollBarUI. scrollbarScrollbarprotected JScrollBarBasicTreeUI.ComponentHandler. scrollBarScrollBar that is being adjusted.Methods in javax.swing.plaf.basic with parameters of type JScrollBar Modifier and Type Method Description protected voidBasicScrollBarUI. layoutHScrollbar(JScrollBar sb)Laysouts a vertical scroll bar.protected voidBasicScrollBarUI. layoutVScrollbar(JScrollBar sb)Laysouts a vertical scroll bar.