Uses of Interface
javax.swing.SpinnerModel
Packages that use SpinnerModel
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
-
Uses of SpinnerModel in javax.swing
Classes in javax.swing that implement SpinnerModelModifier and TypeClassDescriptionclassThis class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations.classASpinnerModelfor sequences ofDates.classA simple implementation ofSpinnerModelwhose values are defined by an array or aList.classASpinnerModelfor sequences of numbers.Methods in javax.swing that return SpinnerModelModifier and TypeMethodDescriptionJSpinner.getModel()Returns theSpinnerModelthat defines this spinners sequence of values.Methods in javax.swing with parameters of type SpinnerModelModifier and TypeMethodDescriptionprotected JComponentJSpinner.createEditor(SpinnerModel model) This method is called by the constructors to create theJComponentthat displays the current value of the sequence.voidJSpinner.setModel(SpinnerModel model) Changes the model that represents the value of this spinner.Constructors in javax.swing with parameters of type SpinnerModelModifierConstructorDescriptionJSpinner(SpinnerModel model) Constructs a spinner for the given model.