Uses of Class
javax.swing.JScrollBar
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides user interface objects built according to the Basic look and feel.
-
Uses of JScrollBar in javax.swing
Modifier and TypeClassDescriptionprotected class
By defaultJScrollPane
creates scrollbars that are instances of this class.Modifier and TypeFieldDescriptionprotected JScrollBar
JScrollPane.horizontalScrollBar
The scrollpane's horizontal scrollbar child.protected JScrollBar
ScrollPaneLayout.hsb
The scrollpane's horizontal scrollbar child.protected JScrollBar
JScrollPane.verticalScrollBar
The scrollpane's vertical scrollbar child.protected JScrollBar
ScrollPaneLayout.vsb
The scrollpane's vertical scrollbar child.Modifier and TypeMethodDescriptionJScrollPane.createHorizontalScrollBar()
Returns aJScrollPane.ScrollBar
by default.JScrollPane.createVerticalScrollBar()
Returns aJScrollPane.ScrollBar
by default.JScrollPane.getHorizontalScrollBar()
Returns the horizontal scroll bar that controls the viewport's horizontal view position.ScrollPaneLayout.getHorizontalScrollBar()
Returns theJScrollBar
object that handles horizontal scrolling.JScrollPane.getVerticalScrollBar()
Returns the vertical scroll bar that controls the viewports vertical view position.ScrollPaneLayout.getVerticalScrollBar()
Returns theJScrollBar
object that handles vertical scrolling.Modifier and TypeMethodDescriptionvoid
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. -
Uses of JScrollBar in javax.swing.plaf.basic
Modifier and TypeFieldDescriptionprotected JScrollBar
BasicScrollBarUI.scrollbar
Scrollbarprotected JScrollBar
BasicTreeUI.ComponentHandler.scrollBar
ScrollBar that is being adjusted.Modifier and TypeMethodDescriptionprotected void
BasicScrollBarUI.layoutHScrollbar
(JScrollBar sb) Lays out a horizontal scroll bar.protected void
BasicScrollBarUI.layoutVScrollbar
(JScrollBar sb) Lays out a vertical scroll bar.