com.metamatrix.console.ui.util
Class ItemsBlockedListSelectionListener

java.lang.Object
  extended by com.metamatrix.console.ui.util.ItemsBlockedListSelectionListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ListSelectionListener

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

Implementation of ListSelectionListener that will block the selection of any in a given set of items. Match is determined by toString().equals() of selected item when compared to input string.


Constructor Summary
ItemsBlockedListSelectionListener(java.lang.String[] blocked, javax.swing.JList list)
           
 
Method Summary
 void valueChanged(javax.swing.event.ListSelectionEvent ev)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemsBlockedListSelectionListener

public ItemsBlockedListSelectionListener(java.lang.String[] blocked,
                                         javax.swing.JList list)
Method Detail

valueChanged

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


Copyright © 2009. All Rights Reserved.