javax.swing.plaf.basic
Class BasicListUI.ListSelectionHandler
java.lang.Object
javax.swing.plaf.basic.BasicListUI.ListSelectionHandler
- All Implemented Interfaces:
- EventListener, ListSelectionListener
- Enclosing class:
- BasicListUI
public class BasicListUI.ListSelectionHandler
- extends Object
- implements ListSelectionListener
A helper class which listens for ListSelectionEvent
s
from the JList
's ListSelectionModel
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicListUI.ListSelectionHandler
public BasicListUI.ListSelectionHandler()
valueChanged
public void valueChanged(ListSelectionEvent e)
- Called when the list selection changes.
- Specified by:
valueChanged
in interface ListSelectionListener
- Parameters:
e
- The event representing the change