freemind.modes.actions
Class CloudColorAction

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

public class CloudColorAction
extends FreemindAction
implements ActorXml, MenuItemEnabledListener

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
CloudColorAction(ModeController controller)
           
 
Method Summary
 void act(XmlAction action)
           
 void actionPerformed(java.awt.event.ActionEvent e)
           
 CloudColorXmlAction createCloudColorXmlAction(MindMapNode node, java.awt.Color color)
           
 java.lang.Class getDoActionClass()
           
 boolean isEnabled(javax.swing.JMenuItem item, javax.swing.Action action)
           
 void setCloudColor(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

CloudColorAction

public CloudColorAction(ModeController controller)
Method Detail

actionPerformed

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

setCloudColor

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

createCloudColorXmlAction

public CloudColorXmlAction createCloudColorXmlAction(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:

isEnabled

public boolean isEnabled(javax.swing.JMenuItem item,
                         javax.swing.Action action)
Specified by:
isEnabled in interface MenuItemEnabledListener