net.datacrow.console.components.lists
Class DcListUI.ListSelectionHandler

java.lang.Object
  extended by net.datacrow.console.components.lists.DcListUI.ListSelectionHandler
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ListSelectionListener
Enclosing class:
DcListUI

public class DcListUI.ListSelectionHandler
extends java.lang.Object
implements javax.swing.event.ListSelectionListener

The ListSelectionListener that's added to the JLists selection model at installUI time, and whenever the JList.selectionModel property changes. When the selection changes we repaint the affected rows.

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 applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

See Also:
DcListUI.createListSelectionListener(), DcListUI.getCellBounds(javax.swing.JList, int, int), BasicListUI.installUI(javax.swing.JComponent)

Constructor Summary
DcListUI.ListSelectionHandler()
           
 
Method Summary
 void valueChanged(javax.swing.event.ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DcListUI.ListSelectionHandler

public DcListUI.ListSelectionHandler()
Method Detail

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener