com.ibm.as400.ui.framework.java
Class ActionHandler
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--com.ibm.as400.ui.framework.java.ActionHandler
- public abstract class ActionHandler
- extends javax.swing.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
- See Also:
MenuManager
, Serialized Form
Field Summary |
protected MenuManager |
menuManager
The MenuManager instance which is managing the currently active menu. |
Fields inherited from class javax.swing.AbstractAction |
changeSupport,
enabled |
Method Summary |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class javax.swing.AbstractAction |
actionPerformed,
addPropertyChangeListener,
clone,
firePropertyChange,
getValue,
isEnabled,
putValue,
removePropertyChangeListener,
setEnabled |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
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 java.lang.String toString()
- Returns a string representation of this object.
- Overrides:
- toString in class java.lang.Object
- Returns:
- this object as a string
- Since:
- v4r2m0