freemind.modes.mindmapmode.actions
Class AddArrowLinkAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by freemind.modes.mindmapmode.actions.FreemindAction
          extended by freemind.modes.mindmapmode.actions.AddArrowLinkAction
All Implemented Interfaces:
ActorXml, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class AddArrowLinkAction
extends FreemindAction
implements ActorXml

Author:
foltin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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
 
Constructor Summary
AddArrowLinkAction(MindMapController modeController)
           
 
Method Summary
 void act(freemind.controller.actions.generated.instance.XmlAction action)
           
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addLink(MindMapNode source, MindMapNode target)
          Source holds the MindMapArrowLinkModel and points to the id placed in target.
 freemind.controller.actions.generated.instance.AddArrowLinkXmlAction createAddArrowLinkXmlAction(MindMapNode source, MindMapNode target, java.lang.String proposedID)
           
 java.lang.Class getDoActionClass()
           
 void setRemoveAction(RemoveArrowLinkAction removeAction)
           
 
Methods inherited from class freemind.modes.mindmapmode.actions.FreemindAction
addActor, getMindMapController
 
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
 

Constructor Detail

AddArrowLinkAction

public AddArrowLinkAction(MindMapController modeController)
Method Detail

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(freemind.controller.actions.generated.instance.XmlAction action)
Specified by:
act in interface ActorXml

getDoActionClass

public java.lang.Class getDoActionClass()
Specified by:
getDoActionClass in interface ActorXml

createAddArrowLinkXmlAction

public freemind.controller.actions.generated.instance.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.