hades.models.pic
Class ListListener

java.lang.Object
  extended byhades.models.pic.ListListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ListSelectionListener

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

A mouse-click in the list selects one line and puts it into the textfield. After that the user can change it.


Constructor Summary
ListListener(javax.swing.JList newList, javax.swing.JTextField newTextField)
           
 
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

ListListener

public ListListener(javax.swing.JList newList,
                    javax.swing.JTextField newTextField)
Method Detail

valueChanged

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