java.lang.Objectjavax.swing.DefaultSingleSelectionModel
All Implemented Interfaces:
Serializable, SingleSelectionModel
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans package.
Please see java.beans.XMLEncoder .
Dave - Moore| Field Summary | ||
|---|---|---|
| protected transient ChangeEvent | changeEvent | |
| protected EventListenerList | listenerList | The collection of registered listeners |
| Method from javax.swing.DefaultSingleSelectionModel Summary: |
|---|
| addChangeListener, clearSelection, fireStateChanged, getChangeListeners, getListeners, getSelectedIndex, isSelected, removeChangeListener, setSelectedIndex |
| Methods from java.lang.Object: |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from javax.swing.DefaultSingleSelectionModel Detail: |
|---|
ChangeListener to the button. |
|
|
DefaultSingleSelectionModel. |
FooListeners
upon this model.
FooListeners
are registered using the addFooListener method.
You can specify the ChangeListener[] cls = (ChangeListener[])(m.getListeners(ChangeListener.class));If no such listeners exist, this method returns an empty array. |
|
|
ChangeListener from the button. |
|