Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

Uses of Class
javax.swing.JScrollBar

Packages that use JScrollBar
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of JScrollBar in javax.swing
 

Subclasses of JScrollBar in javax.swing
protected  class JScrollPane.ScrollBar
          By default JScrollPane creates scrollbars that are instances of this class.
 

Fields in javax.swing declared as JScrollBar
protected  JScrollBar ScrollPaneLayout.vsb
          The scrollpane's vertical scrollbar child.
protected  JScrollBar ScrollPaneLayout.hsb
          The scrollpane's horizontal scrollbar child.
protected  JScrollBar JScrollPane.verticalScrollBar
          The scrollpane's vertical scrollbar child.
protected  JScrollBar JScrollPane.horizontalScrollBar
          The scrollpane's horizontal scrollbar child.
 

Methods in javax.swing that return JScrollBar
 JScrollBar ScrollPaneLayout.getHorizontalScrollBar()
          Returns the JScrollBar object that handles horizontal scrolling.
 JScrollBar ScrollPaneLayout.getVerticalScrollBar()
          Returns the JScrollBar object that handles vertical scrolling.
 JScrollBar JScrollPane.createHorizontalScrollBar()
          Returns a JScrollPane.ScrollBar by default.
 JScrollBar JScrollPane.getHorizontalScrollBar()
          Returns the horizontal scroll bar that controls the viewport's horizontal view position.
 JScrollBar JScrollPane.createVerticalScrollBar()
          Returns a JScrollPane.ScrollBar by default.
 JScrollBar JScrollPane.getVerticalScrollBar()
          Returns the vertical scroll bar that controls the viewports vertical view position.
 

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.
 


JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.