freemind.modes.actions
Class RemoveArrowLinkAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byfreemind.controller.actions.FreemindAction
          extended byfreemind.modes.actions.RemoveArrowLinkAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, ActorXml, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class RemoveArrowLinkAction
extends FreemindAction
implements ActorXml

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, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
RemoveArrowLinkAction(ModeController controller, MindMapArrowLinkModel arrowLink)
           
 
Method Summary
 void act(XmlAction action)
           
 void actionPerformed(java.awt.event.ActionEvent e)
           
 AddArrowLinkXmlAction createAddArrowLinkXmlAction(MindMapLink link)
           
 RemoveArrowLinkXmlAction createRemoveArrowLinkXmlAction(java.lang.String id)
           
 MindMapArrowLinkModel getArrowLink()
           
 java.lang.Class getDoActionClass()
           
 void removeReference(MindMapLink arrowLink)
           
 void setArrowLink(MindMapArrowLinkModel arrowLink)
           
 
Methods inherited from class freemind.controller.actions.FreemindAction
addActor, getModeController, setSelected
 
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

RemoveArrowLinkAction

public RemoveArrowLinkAction(ModeController controller,
                             MindMapArrowLinkModel arrowLink)
Parameters:
controller -
arrowLink - can be null.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

removeReference

public void removeReference(MindMapLink arrowLink)

getArrowLink

public MindMapArrowLinkModel getArrowLink()
Returns:
Returns the arrowLink.

setArrowLink

public void setArrowLink(MindMapArrowLinkModel arrowLink)
Parameters:
arrowLink - The arrowLink to set.

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:

createRemoveArrowLinkXmlAction

public RemoveArrowLinkXmlAction createRemoveArrowLinkXmlAction(java.lang.String id)

createAddArrowLinkXmlAction

public AddArrowLinkXmlAction createAddArrowLinkXmlAction(MindMapLink link)