gate.swing
Class JChoice.ListenerWrapper
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
originalListener
private EventListener originalListener
JChoice.ListenerWrapper
public JChoice.ListenerWrapper(EventListener originalListener)
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Specified by:
itemStateChanged in interface ItemListener
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed in interface ActionListener