freemind.modes.actions
Class CutAction
java.lang.Object
javax.swing.AbstractAction
freemind.modes.actions.CutAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, ActorXml, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- public class CutAction
- 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, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, 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 |
CutAction
public CutAction(ControllerAdapter c)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
getCutNodeAction
public CutNodeAction getCutNodeAction(java.awt.datatransfer.Transferable t,
MindMapNode node)
throws JAXBException
- Throws:
JAXBException
getCutNodeAction
public CutNodeAction getCutNodeAction(java.awt.datatransfer.Transferable t,
PasteAction.NodeCoordinate coord)
throws JAXBException
- Throws:
JAXBException
cut
public java.awt.datatransfer.Transferable cut(java.util.List nodeList)
act
public void act(XmlAction action)
- Specified by:
act
in interface ActorXml
getTransferableContent
public TransferableContentType getTransferableContent(java.awt.datatransfer.Transferable t)
throws JAXBException
- Throws:
JAXBException
getTransferable
public java.awt.datatransfer.Transferable getTransferable(TransferableContentType trans)
getDoActionClass
public java.lang.Class getDoActionClass()
- Specified by:
getDoActionClass
in interface ActorXml
- Returns: