de.limdul.cassiopeia.lang.editor.actions
Class DeleteKeyAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by de.limdul.cassiopeia.lang.editor.actions.DeleteKeyAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, TreeSelectionListener

public class DeleteKeyAction
extends AbstractAction
implements TreeSelectionListener

Action zum löschen eines Schlüssels.

Version:
$Revision: 163 $
Author:
Martin Köhler
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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
DeleteKeyAction(EventHandler handler, JTree tree, LangEditorGui langGui)
          Erzeugt die Action.
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void valueChanged(TreeSelectionEvent e)
           
 
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

DeleteKeyAction

public DeleteKeyAction(EventHandler handler,
                       JTree tree,
                       LangEditorGui langGui)
Erzeugt die Action.

Parameters:
handler - Der Ereignishandler.
tree - Der Baum
langGui - Das Hauptfenster.
Method Detail

actionPerformed

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

valueChanged

public void valueChanged(TreeSelectionEvent e)
Specified by:
valueChanged in interface TreeSelectionListener
See Also:
TreeSelectionListener.valueChanged(javax.swing.event.TreeSelectionEvent)