All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.DefaultSingleSelectionModel

java.lang.Object
   |
   +----com.sun.java.swing.DefaultSingleSelectionModel

public class DefaultSingleSelectionModel
extends Object
implements SingleSelectionModel, Serializable
A generic implementation of 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 Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.


Variable Index

 o changeEvent
 o listenerList

Constructor Index

 o DefaultSingleSelectionModel()

Method Index

 o addChangeListener(ChangeListener)
Adds a ChangeListener to the button.
 o clearSelection()
 o fireStateChanged()
 o getSelectedIndex()
 o isSelected()
 o removeChangeListener(ChangeListener)
Removes a ChangeListener from the button.
 o setSelectedIndex(int)

Variables

 o changeEvent
 protected transient ChangeEvent changeEvent
 o listenerList
 protected EventListenerList listenerList

Constructors

 o DefaultSingleSelectionModel
 public DefaultSingleSelectionModel()

Methods

 o getSelectedIndex
 public int getSelectedIndex()
 o setSelectedIndex
 public void setSelectedIndex(int index)
 o clearSelection
 public void clearSelection()
 o isSelected
 public boolean isSelected()
 o addChangeListener
 public void addChangeListener(ChangeListener l)
Adds a ChangeListener to the button.

 o removeChangeListener
 public void removeChangeListener(ChangeListener l)
Removes a ChangeListener from the button.

 o fireStateChanged
 protected void fireStateChanged()

All Packages  Class Hierarchy  This Package  Previous  Next  Index