| public abstract class javax.swing AbstractSpinnerModel
|
Java SE 6 |
setValue, getValue, getNextValue and
getPreviousValue methods.
| version | 1.9 03/29/06 |
| since | 1.4 |
| See also | javax.swing.JSpinner, javax.swing.SpinnerModel, javax.swing.SpinnerListModel, javax.swing.SpinnerNumberModel, javax.swing.SpinnerDateModel |
| Fields | |
|---|---|
| protected EventListenerList | listenerList The list of ChangeListeners for this model. Subclasses may store their own listeners here. |
| Constructors | |
|---|---|
| public | AbstractSpinnerModel() |
| Methods | |||||
|---|---|---|---|---|---|
| public void | addChangeListener(ChangeListener l) Details
Adds a ChangeListener to the model's listener list. The
ChangeListeners must be notified when the models value changes.
| ||||
| protected void | fireStateChanged() Details
Run each ChangeListeners stateChanged() method.
| ||||
| public void | removeChangeListener(ChangeListener l) Details
Removes a ChangeListener from the model's listener list.
| ||||
| Properties | |||||
|---|---|---|---|---|---|
| public ChangeListener[] | getChangeListeners() Details
Returns an array of all the ChangeListeners added
to this AbstractSpinnerModel with addChangeListener().
| ||||
| public EventListener[]<T> | getListeners(Class listenerType) Details
Return an array of all the listeners of the given type that
were added to this model. For example to find all of the
ChangeListeners added to this model:
myAbstractSpinnerModel.getListeners(ChangeListener.class);
| ||||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|