Uses of Class
javax.swing.JScrollBar
Packages that use 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
Subclasses of JScrollBar in javax.swingModifier and TypeClassDescriptionprotected class
By defaultJScrollPane
creates scrollbars that are instances of this class.Fields in javax.swing declared as JScrollBarModifier 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.Methods in javax.swing that return JScrollBarModifier 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.Methods in javax.swing with parameters of type JScrollBarModifier 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
Fields in javax.swing.plaf.basic declared as JScrollBarModifier and TypeFieldDescriptionprotected JScrollBar
BasicScrollBarUI.scrollbar
Scrollbarprotected JScrollBar
BasicTreeUI.ComponentHandler.scrollBar
ScrollBar that is being adjusted.Methods in javax.swing.plaf.basic with parameters of type JScrollBarModifier and TypeMethodDescriptionprotected void
BasicScrollBarUI.layoutHScrollbar
(JScrollBar sb) Laysouts a vertical scroll bar.protected void
BasicScrollBarUI.layoutVScrollbar
(JScrollBar sb) Laysouts a vertical scroll bar.