| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SpinnerModel | |
|---|---|
| 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 SpinnerModel in javax.swing | 
|---|
| Classes in javax.swing that implement SpinnerModel | |
|---|---|
|  class | AbstractSpinnerModelThis class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations. | 
|  class | SpinnerDateModelA SpinnerModelfor sequences ofDates. | 
|  class | SpinnerListModelA simple implementation of SpinnerModelwhose
 values are defined by an array or aList. | 
|  class | SpinnerNumberModelA SpinnerModelfor sequences of numbers. | 
| Methods in javax.swing that return SpinnerModel | |
|---|---|
|  SpinnerModel | JSpinner.getModel()Returns the SpinnerModelthat defines
 this spinners sequence of values. | 
| Methods in javax.swing with parameters of type SpinnerModel | |
|---|---|
| protected  JComponent | JSpinner.createEditor(SpinnerModel model)This method is called by the constructors to create the JComponentthat displays the current value of the sequence. | 
|  void | JSpinner.setModel(SpinnerModel model)Changes the model that represents the value of this spinner. | 
| Constructors in javax.swing with parameters of type SpinnerModel | |
|---|---|
| JSpinner(SpinnerModel model)Constructs a complete spinner with pair of next/previous buttons and an editor for the SpinnerModel. | |
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.