freemind.modes.actions
Class RemoveLastIconAction

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.RemoveLastIconAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, ActorXml, java.lang.Cloneable, java.util.EventListener, NodeActorXml, java.io.Serializable

public class RemoveLastIconAction
extends NodeGeneralAction
implements NodeActorXml

Author:
foltin
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
RemoveLastIconAction(ModeController modeController)
           
 
Method Summary
 void act(XmlAction action)
           
 ActionPair apply(MapAdapter model, MindMapNode selected)
           
 RemoveLastIconXmlAction createRemoveLastIconXmlAction(MindMapNode node)
           
 java.lang.Class getDoActionClass()
           
 int removeLastIcon(MindMapNode node)
           
 void setIconAction(IconAction iconAction)
           
 
Methods inherited from class freemind.modes.actions.NodeGeneralAction
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

RemoveLastIconAction

public RemoveLastIconAction(ModeController modeController)
Parameters:
modeController -
Method Detail

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:

createRemoveLastIconXmlAction

public RemoveLastIconXmlAction createRemoveLastIconXmlAction(MindMapNode node)
                                                      throws JAXBException
Throws:
JAXBException

removeLastIcon

public int removeLastIcon(MindMapNode node)

act

public void act(XmlAction action)
Specified by:
act in interface ActorXml
Overrides:
act in class NodeGeneralAction

setIconAction

public void setIconAction(IconAction iconAction)