public class UndoableRemoveColumnsAction extends UndoableRemoveAction
COLUMNS, INSERT, REMOVE, ROWS| Constructor and Description |
|---|
UndoableRemoveColumnsAction(int nCols,
int startCol,
int row,
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 UndoableRemoveColumnsAction(int nCols,
int startCol,
int row,
MetaInfoWriter metaInfoWriter)
protected boolean canPerformAction(IGridRegion gridRegion)
UndoableRemoveActioncanPerformAction in class UndoableRemoveActionprotected int getNumberToRemove(IGridTable table)
UndoableRemoveActiongetNumberToRemove in class UndoableRemoveActionprotected IUndoableGridTableAction performAction(int numberToRemove, IGridRegion fullTableRegion, IGridTable table)
UndoableRemoveActionperformAction in class UndoableRemoveActionprotected GridRegionAction getGridRegionAction(IGridRegion gridRegion, int numberToRemove)
getGridRegionAction in class UndoableRemoveActionCopyright © 2004–2019 OpenL Tablets. All rights reserved.