API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. DefaultSingleSelectionModel View Source
Author(s)
Dave Moore
Since
Version
1.36 11/17/05
Serial
Hierarchy
 Object
      DefaultSingleSelectionModel
Implements
 SingleSelectionModel
 Serializable
Subclasses
Description
public class DefaultSingleSelectionModel
  A generic implementation of SingleSelectionModel.
See also:   
Constructors
public DefaultSingleSelectionModel ()
Methods
Hide/Show inherited methods
public void addChangeListener (ChangeListener l) [Specified in SingleSelectionModel]
Adds a ChangeListener to the button.
public void clearSelection () [Specified in SingleSelectionModel]
protected void fireStateChanged ()
  Notifies all listeners that have registered interest for notification on this event type.
public ChangeListener getChangeListeners ()
  Returns an array of all the change listeners registered on this DefaultSingleSelectionModel.
public T getListeners (Class< T> listenerType)
  Returns an array of all the objects currently registered as FooListeners upon this model.
public int getSelectedIndex () [Specified in SingleSelectionModel]
public boolean isSelected () [Specified in SingleSelectionModel]
public void removeChangeListener (ChangeListener l) [Specified in SingleSelectionModel]
Removes a ChangeListener from the button.
public void setSelectedIndex (int index) [Specified in SingleSelectionModel]
Fields
Hide/Show inherited fields
protectedtransient ChangeEvent changeEvent
protected EventListenerList listenerList
The collection of registered listeners
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar