Uses of Class
javax.swing.JScrollBar
Packages that use JScrollBar
包
描述
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.swing修饰符和类Class描述protected class
By defaultJScrollPane
creates scrollbars that are instances of this class.Fields in javax.swing declared as JScrollBar修饰符和类Field描述protected 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 JScrollBar修饰符和类方法描述JScrollPane.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 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. -
Uses of JScrollBar in javax.swing.plaf.basic
Fields in javax.swing.plaf.basic declared as JScrollBar修饰符和类Field描述protected JScrollBar
BasicScrollBarUI.scrollbar
Scrollbarprotected JScrollBar
BasicTreeUI.ComponentHandler.scrollBar
ScrollBar that is being adjusted.Methods in javax.swing.plaf.basic with parameters of type JScrollBar修饰符和类方法描述protected void
BasicScrollBarUI.layoutHScrollbar
(JScrollBar sb) Lays out a horizontal scroll bar.protected void
BasicScrollBarUI.layoutVScrollbar
(JScrollBar sb) Lays out a vertical scroll bar.