freemind.modes.actions
Class EdgeWidthAction
java.lang.Object
javax.swing.AbstractAction
freemind.controller.actions.FreemindAction
freemind.controller.actions.AbstractXmlAction
freemind.modes.actions.NodeGeneralAction
freemind.modes.actions.EdgeWidthAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, ActorXml, java.lang.Cloneable, java.util.EventListener, NodeActorXml, java.io.Serializable
- public class EdgeWidthAction
- extends NodeGeneralAction
- implements NodeActorXml
- 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 |
EdgeWidthAction
public EdgeWidthAction(ModeController controller,
int width)
apply
public ActionPair apply(MapAdapter model,
MindMapNode selected)
throws JAXBException
- Specified by:
apply
in interface NodeActorXml
- Parameters:
model
- selected
-
- Returns:
-
- Throws:
JAXBException
getDoActionClass
public java.lang.Class getDoActionClass()
- Specified by:
getDoActionClass
in interface ActorXml
- Returns:
setEdgeWidth
public void setEdgeWidth(MindMapNode node,
int width)
act
public void act(XmlAction action)
- Specified by:
act
in interface ActorXml
- Overrides:
act
in class NodeGeneralAction