javax.swing.event
Interface ListSelectionListener

All Superinterfaces:
EventListener sample code for java.util.EventListener definition code for java.util.EventListener
All Known Implementing Classes:
BasicComboPopup.ListSelectionHandler sample code for javax.swing.plaf.basic.BasicComboPopup.ListSelectionHandler definition code for javax.swing.plaf.basic.BasicComboPopup.ListSelectionHandler , BasicFileChooserUI.SelectionListener sample code for javax.swing.plaf.basic.BasicFileChooserUI.SelectionListener definition code for javax.swing.plaf.basic.BasicFileChooserUI.SelectionListener , BasicListUI.ListSelectionHandler sample code for javax.swing.plaf.basic.BasicListUI.ListSelectionHandler definition code for javax.swing.plaf.basic.BasicListUI.ListSelectionHandler , DefaultTableColumnModel sample code for javax.swing.table.DefaultTableColumnModel definition code for javax.swing.table.DefaultTableColumnModel , JList.AccessibleJList sample code for javax.swing.JList.AccessibleJList definition code for javax.swing.JList.AccessibleJList , JTable sample code for javax.swing.JTable definition code for javax.swing.JTable , JTable.AccessibleJTable sample code for javax.swing.JTable.AccessibleJTable definition code for javax.swing.JTable.AccessibleJTable

public interface ListSelectionListener
extends EventListener sample code for java.util.EventListener definition code for java.util.EventListener

The listener that's notified when a lists selection value changes.

See Also:
ListSelectionModel sample code for javax.swing.ListSelectionModel definition code for javax.swing.ListSelectionModel

Method Summary
 void valueChanged sample code for javax.swing.event.ListSelectionListener.valueChanged(javax.swing.event.ListSelectionEvent) definition code for javax.swing.event.ListSelectionListener.valueChanged(javax.swing.event.ListSelectionEvent) (ListSelectionEvent sample code for javax.swing.event.ListSelectionEvent definition code for javax.swing.event.ListSelectionEvent  e)
          Called whenever the value of the selection changes.
 

Method Detail

valueChanged sample code for javax.swing.event.ListSelectionListener.valueChanged(javax.swing.event.ListSelectionEvent) definition code for javax.swing.event.ListSelectionListener.valueChanged(javax.swing.event.ListSelectionEvent)

void valueChanged(ListSelectionEvent sample code for javax.swing.event.ListSelectionEvent definition code for javax.swing.event.ListSelectionEvent  e)
Called whenever the value of the selection changes.

Parameters:
e - the event that characterizes the change.