freemind.modes.actions
Class ApplyPatternAction

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

public class ApplyPatternAction
extends NodeGeneralAction
implements SingleNodeOperation

See Also:
Serialized Form

Field Summary
 
Fields inherited from class freemind.modes.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, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ApplyPatternAction(ModeController controller, StylePattern pattern)
           
 
Method Summary
 void apply(MindMapMapModel map, MindMapNodeModel node)
           
 void applyPattern(MindMapNode node, StylePattern pattern)
           
 StylePattern getPattern()
           
 
Methods inherited from class freemind.modes.actions.NodeGeneralAction
act, addActor, execute, getActionXmlFactory, getNodeFromID, getNodeID, setName, setSingleNodeOperation, xmlActionPerformed
 
Methods inherited from class freemind.controller.actions.AbstractXmlAction
actionPerformed, addActor, getActor, getModeController
 
Methods inherited from class freemind.controller.actions.FreemindAction
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

ApplyPatternAction

public ApplyPatternAction(ModeController controller,
                          StylePattern pattern)
Method Detail

apply

public void apply(MindMapMapModel map,
                  MindMapNodeModel node)
Specified by:
apply in interface SingleNodeOperation

applyPattern

public void applyPattern(MindMapNode node,
                         StylePattern pattern)

getPattern

public StylePattern getPattern()
Returns:
Returns the pattern.