freemind.modes.actions
Class NodeHookAction
java.lang.Object
javax.swing.AbstractAction
freemind.controller.actions.FreemindAction
freemind.modes.actions.NodeHookAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, ActorXml, java.lang.Cloneable, java.util.EventListener, MenuItemEnabledListener, java.io.Serializable
- public class NodeHookAction
- extends FreemindAction
- implements ActorXml, MenuItemEnabledListener
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeHookAction
public NodeHookAction(java.lang.String hookName,
ModeController controller)
getController
public ModeController getController()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent arg0)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
addHook
public void addHook(MindMapNode focussed,
java.util.List selecteds,
java.lang.String hookName)
invoke
public void invoke(MindMapNode focussed,
java.util.List selecteds)
isEnabled
public boolean isEnabled(javax.swing.JMenuItem item,
javax.swing.Action action)
- Specified by:
isEnabled
in interface MenuItemEnabledListener
createHookNodeAction
public HookNodeAction createHookNodeAction(MindMapNode focussed,
java.util.List selecteds,
java.lang.String hookName)
act
public void act(XmlAction action)
- Specified by:
act
in interface ActorXml
getDoActionClass
public java.lang.Class getDoActionClass()
- Specified by:
getDoActionClass
in interface ActorXml
- Returns:
getHookName
public java.lang.String getHookName()
- Returns: