freemind.modes.actions
Class AddArrowLinkAction
java.lang.Object
javax.swing.AbstractAction
freemind.controller.actions.FreemindAction
freemind.modes.actions.AddArrowLinkAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, ActorXml, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- public class AddArrowLinkAction
- extends FreemindAction
- implements ActorXml
- Author:
- foltin
- 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 |
AddArrowLinkAction
public AddArrowLinkAction(ModeController modeController)
- Parameters:
modeController
-
setRemoveAction
public void setRemoveAction(RemoveArrowLinkAction removeAction)
- Parameters:
removeAction
- The removeAction to set.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
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:
createAddArrowLinkXmlAction
public AddArrowLinkXmlAction createAddArrowLinkXmlAction(MindMapNode source,
MindMapNode target,
java.lang.String proposedID)
addLink
public void addLink(MindMapNode source,
MindMapNode target)
- Source holds the MindMapArrowLinkModel and points to the id placed in target.