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.


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