freemind.modes.actions
Class RemoveArrowLinkAction
java.lang.Object
javax.swing.AbstractAction
freemind.controller.actions.FreemindAction
freemind.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
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 |
RemoveArrowLinkAction
public RemoveArrowLinkAction(ModeController controller,
MindMapArrowLinkModel arrowLink)
- Parameters:
controller
- arrowLink
- can be null.
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)