net.sourceforge.nite.gui.actions
Class DeleteElement

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by net.sourceforge.nite.gui.actions.NiteAction
          extended by net.sourceforge.nite.gui.actions.XMLAction
              extended by net.sourceforge.nite.gui.actions.DeleteElement
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class DeleteElement
extends XMLAction

Author:
judyr This action is used to delete an element from the XML
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
DeleteElement(JDomParser p)
           
DeleteElement(JDomParser p, ObjectModelElement el)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          When this action is executed, collect the user input from the source, and initiate the action.
 
Methods inherited from class net.sourceforge.nite.gui.actions.XMLAction
getElement, setElement
 
Methods inherited from class net.sourceforge.nite.gui.actions.NiteAction
addComponentID, addInputComponent, addInputComponentID, addIntermediateComponent, addOutputComponent, addPopupContext, addXmlAction, getActionType, getAttributeName, getComponentsIDs, getDescription, getDisplayer, getId, getInputComponentIDs, getInputComponents, getOptionValues, getOutputComponentIDs, getOutputComponents, getParser, setActionType, setAttributeName, setComponentsIDs, setDescription, setDisplayer, setId, setInputComponents, setOutputComponents, setParser
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteElement

public DeleteElement(JDomParser p)

DeleteElement

public DeleteElement(JDomParser p,
                     ObjectModelElement el)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Description copied from class: NiteAction
When this action is executed, collect the user input from the source, and initiate the action.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class NiteAction
See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)