org.gjt.sp.jedit
Class EditAction.Wrapper
java.lang.Object
org.gjt.sp.jedit.EditAction.Wrapper
- All Implemented Interfaces:
- ActionListener, EventListener
- Enclosing class:
- EditAction
- public static class EditAction.Wrapper
- extends Object
- implements ActionListener
'Wrap' EditActions in this class to turn them into AWT
ActionListeners, that can be attached to buttons, menu items, etc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditAction.Wrapper
public EditAction.Wrapper(ActionContext context,
String actionName)
- Creates a new action listener wrapper.
- Since:
- jEdit 4.2pre1
actionPerformed
public void actionPerformed(ActionEvent evt)
- Called when the user selects this action from a menu.
It passes the action through the
InputHandler.invokeAction(EditAction)
method, which performs any recording or repeating.
- Specified by:
actionPerformed
in interface ActionListener
- Parameters:
evt
- The action event