org.objectweb.fractal.gui.menu.control
Class NewComponentAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.objectweb.fractal.swing.AbstractAction
          extended byorg.objectweb.fractal.gui.menu.control.CreateAction
              extended byorg.objectweb.fractal.gui.menu.control.NewComponentAction
All Implemented Interfaces:
javax.swing.Action, org.objectweb.fractal.swing.ActionAttributes, java.awt.event.ActionListener, org.objectweb.fractal.api.control.AttributeController, org.objectweb.fractal.api.control.BindingController, java.lang.Cloneable, java.util.EventListener, SelectionListener, java.io.Serializable

public class NewComponentAction
extends CreateAction

An action to create new components.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.fractal.gui.menu.control.CreateAction
FACTORY_BINDING, SELECTION_BINDING
 
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
NewComponentAction()
          Constructs a new NewComponentAction component.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void selectionChanged()
          Notifies this listener that the selection has changed.
 
Methods inherited from class org.objectweb.fractal.gui.menu.control.CreateAction
bindFc, listFc, lookupFc, unbindFc
 
Methods inherited from class org.objectweb.fractal.swing.AbstractAction
getAcceleratorKey, getIconURL, getName, getToolTipText, setAcceleratorKey, setIconURL, setName, setToolTipText
 
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

NewComponentAction

public NewComponentAction()
Constructs a new NewComponentAction component.

Method Detail

selectionChanged

public void selectionChanged()
Description copied from interface: SelectionListener
Notifies this listener that the selection has changed.


actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)