public class UndoableRemoveRowsAction extends UndoableRemoveAction
COLUMNS, INSERT, REMOVE, ROWS| Constructor and Description |
|---|
UndoableRemoveRowsAction(int nRows,
int startRow,
int col,
MetaInfoWriter metaInfoWriter) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canPerformAction(IGridRegion gridRegion)
Checks if action can be performed.
|
protected GridRegionAction |
getGridRegionAction(IGridRegion gridRegion,
int numberToRemove) |
protected int |
getNumberToRemove(IGridTable table)
Get actual number of rows or columns to be removed.
|
protected IUndoableGridTableAction |
performAction(int numberToRemove,
IGridRegion fullTableRegion,
IGridTable table)
Perform action for removing rows or columns.
|
doAction, undoActiongetOriginalRegion, getOriginalTable, isDecoratorTable, moveTablepublic UndoableRemoveRowsAction(int nRows,
int startRow,
int col,
MetaInfoWriter metaInfoWriter)
protected boolean canPerformAction(IGridRegion gridRegion)
UndoableRemoveActioncanPerformAction in class UndoableRemoveActionprotected GridRegionAction getGridRegionAction(IGridRegion gridRegion, int numberToRemove)
getGridRegionAction in class UndoableRemoveActionprotected int getNumberToRemove(IGridTable table)
UndoableRemoveActiongetNumberToRemove in class UndoableRemoveActionprotected IUndoableGridTableAction performAction(int numberToRemove, IGridRegion fullTableRegion, IGridTable table)
UndoableRemoveActionperformAction in class UndoableRemoveActionCopyright © 2004–2019 OpenL Tablets. All rights reserved.