freemind.modes.mindmapmode.actions
Class ApplyPatternAction
java.lang.Object
javax.swing.AbstractAction
freemind.modes.mindmapmode.actions.FreemindAction
freemind.modes.mindmapmode.actions.xml.AbstractXmlAction
freemind.modes.mindmapmode.actions.NodeGeneralAction
freemind.modes.mindmapmode.actions.ApplyPatternAction
- All Implemented Interfaces:
- SingleNodeOperation, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class ApplyPatternAction
- extends NodeGeneralAction
- implements SingleNodeOperation
- 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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, 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 |
ApplyPatternAction
public ApplyPatternAction(MindMapController controller,
freemind.controller.actions.generated.instance.Pattern pattern)
apply
public void apply(MindMapMapModel map,
MindMapNodeModel node)
- Specified by:
apply
in interface SingleNodeOperation
applyPattern
public void applyPattern(MindMapNode node,
freemind.controller.actions.generated.instance.Pattern pattern)
edgeWidthStringToInt
public static int edgeWidthStringToInt(java.lang.String value)
edgeWidthIntToString
public static java.lang.String edgeWidthIntToString(int value)
getPattern
public freemind.controller.actions.generated.instance.Pattern getPattern()
- Returns:
- Returns the pattern.