Uses of Interface
javax.swing.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
Modifier and TypeClassDescriptionclass
This class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations.class
ASpinnerModel
for sequences ofDate
s.class
A simple implementation ofSpinnerModel
whose values are defined by an array or aList
.class
ASpinnerModel
for sequences of numbers.Modifier and TypeMethodDescriptionJSpinner.getModel()
Returns theSpinnerModel
that defines this spinners sequence of values.Modifier and TypeMethodDescriptionprotected JComponent
JSpinner.createEditor(SpinnerModel model)
This method is called by the constructors to create theJComponent
that displays the current value of the sequence.void
JSpinner.setModel(SpinnerModel model)
Changes the model that represents the value of this spinner.ModifierConstructorDescriptionJSpinner(SpinnerModel model)
Constructs a spinner for the given model.