javax.swing.plaf.basic
Class BasicTreeUI.TreeCancelEditingAction
java.lang.Object
javax.swing.AbstractAction
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
Method Summary |
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs, cancels the cell editing (if the
tree cell is being edited). |
BasicTreeUI.TreeCancelEditingAction
public BasicTreeUI.TreeCancelEditingAction(String name)
- Creates the new tree cancel editing action.
- Parameters:
name
- the name of the action (used in toString).
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