freemind.modes.actions
Class NodeColorAction

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

public class NodeColorAction
extends FreemindAction
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, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
NodeColorAction(ModeController controller)
           
 
Method Summary
 void act(XmlAction action)
           
 void actionPerformed(java.awt.event.ActionEvent e)
           
 NodeColorFormatAction createNodeColorFormatAction(MindMapNode node, java.awt.Color color)
           
 java.lang.Class getDoActionClass()
           
 void setNodeColor(MindMapNode node, java.awt.Color color)
           
 
Methods inherited from class freemind.controller.actions.FreemindAction
addActor, getModeController, 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

NodeColorAction

public NodeColorAction(ModeController controller)
Method Detail

actionPerformed

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

setNodeColor

public void setNodeColor(MindMapNode node,
                         java.awt.Color color)

createNodeColorFormatAction

public NodeColorFormatAction createNodeColorFormatAction(MindMapNode node,
                                                         java.awt.Color color)
                                                  throws JAXBException
Throws:
JAXBException

act

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

getDoActionClass

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