freemind.modes.mindmapmode.actions
Class EditAction
java.lang.Object
javax.swing.AbstractAction
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
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 |
EditAction
public EditAction(MindMapController modeController)
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()