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 Interface
javax.swing.BoundedRangeModel

Packages that use BoundedRangeModel
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 BoundedRangeModel in javax.swing
 

Classes in javax.swing that implement BoundedRangeModel
 class DefaultBoundedRangeModel
          A generic implementation of BoundedRangeModel.
 

Fields in javax.swing declared as BoundedRangeModel
protected  BoundedRangeModel JSlider.sliderModel
          The data model that handles the numeric maximum value, minimum value, and current-position value for the slider.
protected  BoundedRangeModel JScrollBar.model
          The model that represents the scrollbar's minimum, maximum, extent (aka "visibleAmount") and current value.
protected  BoundedRangeModel JProgressBar.model
          The object that holds the data for the progress bar.
 

Methods in javax.swing that return BoundedRangeModel
 BoundedRangeModel JTextField.getHorizontalVisibility()
          Gets the visibility of the text field.
 BoundedRangeModel JSlider.getModel()
          Returns data model that handles the sliders three fundamental properties: minimum, maximum, value.
 BoundedRangeModel JScrollBar.getModel()
          Returns data model that handles the scrollbar's four fundamental properties: minimum, maximum, value, extent.
 BoundedRangeModel JProgressBar.getModel()
          Returns the data model used by this progress bar.
 

Methods in javax.swing with parameters of type BoundedRangeModel
 void JSlider.setModel(BoundedRangeModel newModel)
          Sets the model that handles the sliders three fundamental properties: minimum, maximum, value.
 void JScrollBar.setModel(BoundedRangeModel newModel)
          Sets the model that handles the scrollbar's four fundamental properties: minimum, maximum, value, extent.
 void JProgressBar.setModel(BoundedRangeModel newModel)
          Sets the data model used by the JProgressBar.
 

Constructors in javax.swing with parameters of type BoundedRangeModel
JSlider(BoundedRangeModel brm)
          Creates a horizontal slider using the specified BoundedRangeModel.
JProgressBar(BoundedRangeModel newModel)
          Creates a horizontal progress bar that uses the specified model to hold the progress bar's data.
 


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.