API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. AbstractSpinnerModel View Source
Author(s)
Hans Muller
Since
1.4
Version
1.9 03/29/06
Serial
Hierarchy
 Object
      AbstractSpinnerModel
Implements
 SpinnerModel
Subclasses
Description
publicabstract abstract class AbstractSpinnerModel
  This class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations.
Constructors
public AbstractSpinnerModel ()
Methods
Hide/Show inherited methods
public void addChangeListener (ChangeListener l) [Specified in SpinnerModel]
  Adds a ChangeListener to the model's listener list.
protected void fireStateChanged ()
  Run each ChangeListeners stateChanged() method.
public ChangeListener getChangeListeners ()
  Returns an array of all the ChangeListeners added to this AbstractSpinnerModel with addChangeListener().
public T getListeners (Class< T> listenerType)
  Return an array of all the listeners of the given type that were added to this model.
public void removeChangeListener (ChangeListener l) [Specified in SpinnerModel]
  Removes a ChangeListener from the model's listener list.
Fields
Hide/Show inherited fields
protected EventListenerList listenerList
  The list of ChangeListeners for this model.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar