verinec.gui.configurator
Class Configurator.DeleteAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by verinec.gui.configurator.ConfigAction
          extended by verinec.gui.configurator.Configurator.DeleteAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
Configurator

 class Configurator.DeleteAction
extends ConfigAction


Field Summary
 
Fields inherited from class verinec.gui.configurator.ConfigAction
component
 
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
Configurator.DeleteAction(NwComponent c)
          Instantiate a ConfigAction with title Delete and DELETE_ICON.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Perform one of the config actions.
 
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

Configurator.DeleteAction

public Configurator.DeleteAction(NwComponent c)
                          throws VerinecException
Instantiate a ConfigAction with title Delete and DELETE_ICON. If the component is null, deletes all selected nodes (for use in a menu with no context of a specific node).

Parameters:
c - The context for this action. May be NULL.
Throws:
VerinecException - if DELETE_ICON can not be loaded.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Perform one of the config actions.

Parameters:
e - The event that happened.

Copyright © 2005 Verinec, DIUF