Where Am I? Class Hierarchy (JFC) All Classes (JFC)

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

changeEvent
listenerList

Constructor Index

DefaultSingleSelectionModel()

Method Index

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

Variables

changeEvent
 protected transient ChangeEvent changeEvent
listenerList
 protected EventListenerList listenerList

Constructors

DefaultSingleSelectionModel
 public DefaultSingleSelectionModel()

Methods

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

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

fireStateChanged
 protected void fireStateChanged()

Where Am I? Class Hierarchy (JFC) All Classes (JFC)