Method getVerticalScrollBar()
Return type:
javax.swing.JScrollBar
Member of:
javax.swing.JScrollPane
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
JScrollBar scrollBar = scrollPane.getVerticalScrollBar();
2
JScrollBar scrollBar = scrollPane.getVerticalScrollBar();
3
Integer i = new Integer (js.getVerticalScrollBar().getModel().getValue());
4
jScrollPane1.getVerticalScrollBar().setUnitIncrement((int) (VERTICAL_SCROLL_NUM_LINES*lineHeight));
5
makeScrollBarTrack(pane.getVerticalScrollBar());
6
makeScrollBarTrack(pane.getVerticalScrollBar());
7
scroll.getVerticalScrollBar().setRequestFocusEnabled( false );
8
if(!statusScrollPane.getVerticalScrollBar().getValueIsAdjusting())
9
if(sp.getVerticalScrollBar().isVisible())
10
JScrollBar vert = scrollPane.getVerticalScrollBar();
11
spScroll.getVerticalScrollBar().setUnitIncrement( 16 );
12
scrollPane.getVerticalScrollBar().setUnitIncrement(desktopConfig.verticalScrollBarUnitIncrement);
13
vBar = scrollPane.getVerticalScrollBar();
14
scrollList.getVerticalScrollBar().updateUI();
15
_scroll.getVerticalScrollBar().setUnitIncrement(25);
16
tabScrollPane.getVerticalScrollBar().addMouseListener(new MouseAdapter()
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.