csheets.ui.sheet
Class CellEditor.StopAction
java.lang.Object
javax.swing.AbstractAction
csheets.ui.sheet.CellEditor.StopAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- CellEditor
protected class CellEditor.StopAction
- extends AbstractAction
An action for stopping editing of a cell.
- Author:
- Einar Pehrson
- See Also:
- Serialized Form
CellEditor.StopAction
public CellEditor.StopAction(int columns,
int rows)
- Creates an edit stopping action. When the action is invoked
the active cell selection is moved the given number of columns
and rows.
- Parameters:
columns - the number of columns to move the selection downrows - the number of rows to move the selection to the right
actionPerformed
public void actionPerformed(ActionEvent event)