| Package | Description |
|---|---|
| javax.swing | |
| javax.swing.plaf.basic |
| Modifier and Type | Class and Description |
|---|---|
protected class |
JScrollPane.ScrollBar
By default
JScrollPane creates scrollbars
that are instances
of this class. |
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
JScrollBar |
JScrollPane.createHorizontalScrollBar()
Returns a
JScrollPane.ScrollBar by default. |
JScrollBar |
JScrollPane.createVerticalScrollBar()
Returns a
JScrollPane.ScrollBar by default. |
JScrollBar |
ScrollPaneLayout.getHorizontalScrollBar()
Returns the
JScrollBar object that handles horizontal scrolling. |
JScrollBar |
JScrollPane.getHorizontalScrollBar()
Returns the horizontal scroll bar that controls the viewport's
horizontal view position.
|
JScrollBar |
ScrollPaneLayout.getVerticalScrollBar()
Returns the
JScrollBar object that handles vertical scrolling. |
JScrollBar |
JScrollPane.getVerticalScrollBar()
Returns the vertical scroll bar that controls the viewports
vertical view position.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected JScrollBar |
BasicScrollBarUI.scrollbar |
protected JScrollBar |
BasicTreeUI.ComponentHandler.scrollBar
ScrollBar that is being adjusted.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BasicScrollBarUI.layoutHScrollbar(JScrollBar sb) |
protected void |
BasicScrollBarUI.layoutVScrollbar(JScrollBar sb) |
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.