edu.jhu.tmaj.client.image
Class ClearingListSelectionListener

java.lang.Object
  extended by edu.jhu.tmaj.client.image.ClearingListSelectionListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ListSelectionListener

 class ClearingListSelectionListener
extends java.lang.Object
implements javax.swing.event.ListSelectionListener

Added to 2 JLists, this ListSelectionListener clears the currently highlighted value in one JList if a value in the other JList is selected. In other words, you should only be able to select from one list at a time.


Constructor Summary
ClearingListSelectionListener(javax.swing.JList thisList, javax.swing.JList otherList)
           
 
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

ClearingListSelectionListener

public ClearingListSelectionListener(javax.swing.JList thisList,
                                     javax.swing.JList otherList)
Method Detail

valueChanged

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