com.ibm.as400.ui.framework.java
Class ActionHandler
java.lang.Object
javax.swing.AbstractAction
com.ibm.as400.ui.framework.java.ActionHandler
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- ClFieldCopyMenuHandler, ClFieldCutMenuHandler, ClFieldDeleteMenuHandler, ClFieldHelpMenuHandler, ClFieldPasteMenuHandler, ClFieldSelectAllMenuHandler, ClMainEditCopyMenuHandler, ClMainEditCutMenuHandler, ClMainEditDeleteMenuHandler, ClMainEditPasteMenuHandler, ClMainEditSelectAllMenuHandler, ClMenuActionHandler, ContextButtonHelpHandler, DefaultMenuAction
public abstract class ActionHandler
extends AbstractAction
The abstract base class for user-defined handler classes which handle menu events generated
by the UI framework. The base class provides a valid reference to the MenuManager
object for the menu that is generating the events.
- Since:
- v4r5m0
- Version:
- 1.0, 04/15/98
- Author:
- D. Petty
- See Also:
MenuManager,
Serialized Form
Field Summary
protected MenuManager |
menuManager
The MenuManager instance which is managing the currently active menu. |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Method Summary
String |
toString()
Returns a string representation of this object. |
menuManager
protected MenuManager menuManager
- The
MenuManager instance which is managing the currently active menu.
This object will be called to handle events generated by this panel.
- See Also:
MenuManager
ActionHandler
public ActionHandler(MenuManager mm)
- Constructs an
ActionHandler. Subclasses must
override, as follows:
public <handler_class_name>(MenuManager pm) { super(pm); }
- Parameters:
pm - the MenuManager for the currently active menu- Since:
- v4r2m0
- See Also:
MenuManager
toString
public String toString()
- Returns a string representation of this object.
- Overrides:
toString in class Object
- Returns:
- this object as a string
- Since:
- v4r2m0