javax.swing.plaf.basic
Class BasicTreeUI.TreeCancelEditingAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by javax.swing.plaf.basic.BasicTreeUI.TreeCancelEditingAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
BasicTreeUI

public class BasicTreeUI.TreeCancelEditingAction
extends AbstractAction

The action to cancel editing on this tree.

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
BasicTreeUI.TreeCancelEditingAction(String name)
          Creates the new tree cancel editing action.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Invoked when an action occurs, cancels the cell editing (if the tree cell is being edited).
 
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

BasicTreeUI.TreeCancelEditingAction

public BasicTreeUI.TreeCancelEditingAction(String name)
Creates the new tree cancel editing action.

Parameters:
name - the name of the action (used in toString).
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Invoked when an action occurs, cancels the cell editing (if the tree cell is being edited).

Parameters:
e - event that occured