Uses of Interface
javax.swing.BoundedRangeModel
| Package | Description |
|---|---|
| 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 Modifier and Type Class Description classDefaultBoundedRangeModelA generic implementation of BoundedRangeModel.Fields in javax.swing declared as BoundedRangeModel Modifier and Type Field Description protected BoundedRangeModelJProgressBar. modelThe object that holds the data for the progress bar.protected BoundedRangeModelJScrollBar. modelThe model that represents the scrollbar's minimum, maximum, extent (aka "visibleAmount") and current value.protected BoundedRangeModelJSlider. sliderModelThe data model that handles the numeric maximum value, minimum value, and current-position value for the slider.Methods in javax.swing that return BoundedRangeModel Modifier and Type Method Description BoundedRangeModelJTextField. getHorizontalVisibility()Gets the visibility of the text field.BoundedRangeModelJProgressBar. getModel()Returns the data model used by this progress bar.BoundedRangeModelJScrollBar. getModel()Returns data model that handles the scrollbar's four fundamental properties: minimum, maximum, value, extent.BoundedRangeModelJSlider. getModel()Returns theBoundedRangeModelthat handles the slider's three fundamental properties: minimum, maximum, value.Methods in javax.swing with parameters of type BoundedRangeModel Modifier and Type Method Description voidJProgressBar. setModel(BoundedRangeModel newModel)Sets the data model used by theJProgressBar.voidJScrollBar. setModel(BoundedRangeModel newModel)Sets the model that handles the scrollbar's four fundamental properties: minimum, maximum, value, extent.voidJSlider. setModel(BoundedRangeModel newModel)Sets theBoundedRangeModelthat handles the slider's three fundamental properties: minimum, maximum, value.Constructors in javax.swing with parameters of type BoundedRangeModel Constructor Description JProgressBar(BoundedRangeModel newModel)Creates a horizontal progress bar that uses the specified model to hold the progress bar's data.JSlider(BoundedRangeModel brm)Creates a horizontal slider using the specified BoundedRangeModel.