javax.swing.plaf.basic

Class BasicTreeUI.TreeCancelEditingAction

public class BasicTreeUI.TreeCancelEditingAction extends AbstractAction

The action to cancel editing on this tree.
Constructor Summary
TreeCancelEditingAction(String name)
Creates the new tree cancel editing action.
Method Summary
voidactionPerformed(ActionEvent e)
Invoked when an action occurs, cancels the cell editing (if the tree cell is being edited).

Constructor Detail

TreeCancelEditingAction

public 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