freemind.modes.mindmapmode.actions
Class ApplyPatternAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by freemind.modes.mindmapmode.actions.FreemindAction
          extended by freemind.modes.mindmapmode.actions.xml.AbstractXmlAction
              extended by freemind.modes.mindmapmode.actions.NodeGeneralAction
                  extended by 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

Nested Class Summary
static interface ApplyPatternAction.ExternalPatternAction
           
 
Field Summary
 
Fields inherited from class freemind.modes.mindmapmode.actions.NodeGeneralAction
logger, modeController
 
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
ApplyPatternAction(MindMapController controller, freemind.controller.actions.generated.instance.Pattern pattern)
           
 
Method Summary
 void apply(MindMapMapModel map, MindMapNodeModel node)
           
 void applyPattern(MindMapNode node, freemind.controller.actions.generated.instance.Pattern pattern)
           
static java.lang.String edgeWidthIntToString(int value)
           
static int edgeWidthStringToInt(java.lang.String value)
           
 freemind.controller.actions.generated.instance.Pattern getPattern()
           
 
Methods inherited from class freemind.modes.mindmapmode.actions.NodeGeneralAction
act, addActor, execute, getNodeFromID, getNodeID, setName, setSingleNodeOperation, xmlActionPerformed
 
Methods inherited from class freemind.modes.mindmapmode.actions.xml.AbstractXmlAction
actionPerformed, addActor, getActor, 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

ApplyPatternAction

public ApplyPatternAction(MindMapController controller,
                          freemind.controller.actions.generated.instance.Pattern pattern)
Method Detail

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.