Package ucar.ui.widget
Class ActionListenerAdapter
- java.lang.Object
-
- ucar.ui.widget.ActionListenerAdapter
-
- All Implemented Interfaces:
ActionListener
,EventListener
public class ActionListenerAdapter extends Object implements ActionListener
Wrap an action listener to filter on event type. Prevent the delegate from causing more events.
-
-
Constructor Summary
Constructors Constructor Description ActionListenerAdapter(String actionCommand, ActionListener delegate)
Recieve events only when event type equals actionCommand name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
-
-
-
Constructor Detail
-
ActionListenerAdapter
public ActionListenerAdapter(String actionCommand, ActionListener delegate)
Recieve events only when event type equals actionCommand name.
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interfaceActionListener
-
-