Package io.github.jonestimd.swing.action
Class ActionAdapter
- java.lang.Object
-
- javax.swing.AbstractAction
-
- io.github.jonestimd.swing.action.ActionAdapter
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class ActionAdapter extends javax.swing.AbstractAction
Converts anActionListener
to anAction
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionAdapter(java.awt.event.ActionListener handler)
ActionAdapter(java.awt.event.ActionListener handler, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-