freemind.modes.mindmapmode.actions
Class EditAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by freemind.modes.mindmapmode.actions.EditAction
All Implemented Interfaces:
ActorXml, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class EditAction
extends javax.swing.AbstractAction
implements ActorXml

See Also:
Serialized Form

Field Summary
 
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
EditAction(MindMapController modeController)
           
 
Method Summary
 void act(freemind.controller.actions.generated.instance.XmlAction action)
           
 void actionPerformed(java.awt.event.ActionEvent arg0)
           
 void edit(java.awt.event.KeyEvent e, boolean addNew, boolean editLong)
           
 void edit(NodeView node, NodeView prevSelected, java.awt.event.KeyEvent firstEvent, boolean isNewNode, boolean parentFolded, boolean editLong)
           
 java.lang.Class getDoActionClass()
           
protected  MindMapController getMindMapController()
           
 void setNodeText(MindMapNode selected, java.lang.String newText)
           
 void stopEditing()
           
 
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

EditAction

public EditAction(MindMapController modeController)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

act

public void act(freemind.controller.actions.generated.instance.XmlAction action)
Specified by:
act in interface ActorXml

getDoActionClass

public java.lang.Class getDoActionClass()
Specified by:
getDoActionClass in interface ActorXml

edit

public void edit(java.awt.event.KeyEvent e,
                 boolean addNew,
                 boolean editLong)

edit

public void edit(NodeView node,
                 NodeView prevSelected,
                 java.awt.event.KeyEvent firstEvent,
                 boolean isNewNode,
                 boolean parentFolded,
                 boolean editLong)

setNodeText

public void setNodeText(MindMapNode selected,
                        java.lang.String newText)

getMindMapController

protected MindMapController getMindMapController()

stopEditing

public void stopEditing()