gate.swing
Class JChoice.ListenerWrapper

java.lang.Object
  extended by gate.swing.JChoice.ListenerWrapper
All Implemented Interfaces:
ActionListener, ItemListener, EventListener
Enclosing class:
JChoice

private class JChoice.ListenerWrapper
extends Object
implements ActionListener, ItemListener

An action listener that changes the source of events to be this object.


Field Summary
private  EventListener originalListener
           
 
Constructor Summary
JChoice.ListenerWrapper(EventListener originalListener)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void itemStateChanged(ItemEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

originalListener

private EventListener originalListener
Constructor Detail

JChoice.ListenerWrapper

public JChoice.ListenerWrapper(EventListener originalListener)
Method Detail

itemStateChanged

public void itemStateChanged(ItemEvent e)
Specified by:
itemStateChanged in interface ItemListener

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener