public class BasicTreeUI.TreeCancelEditingAction extends AbstractAction
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
BasicTreeUI.TreeCancelEditingAction(String name)
Creates the new tree cancel editing action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs, cancels the cell editing (if the
tree cell is being edited).
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public BasicTreeUI.TreeCancelEditingAction(String name)
name
- the name of the action (used in toString).public void actionPerformed(ActionEvent e)
e
- event that occured