public class ResizeHeaderAction extends AbstractUndoableAction
| Modifier and Type | Class and Description |
|---|---|
static class |
ResizeHeaderAction.Type |
_column, _label, _lastColumn, _lastRow, _row, _sheet, _wholeColumn, _wholeRow| Constructor and Description |
|---|
ResizeHeaderAction(String label,
Sheet sheet,
int row,
int column,
int lastRow,
int lastColumn,
ResizeHeaderAction.Type type,
int size,
boolean isCustom) |
| Modifier and Type | Method and Description |
|---|---|
void |
doAction()
do the action, either first time or redo
|
boolean |
isRedoable()
Check if still redoable or not
|
protected boolean |
isSheetProtected()
Check if sheet is protected
|
boolean |
isUndoable()
Check if still undoable or not
|
void |
undoAction()
Undo the action
|
getLabel, getRedoSelection, getRedoSheet, getUndoSelection, getUndoSheet, isAnyCellProtected, isSheetAvailable, toStringpublic ResizeHeaderAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, ResizeHeaderAction.Type type, int size, boolean isCustom)
public void doAction()
UndoableActionpublic boolean isUndoable()
UndoableActionpublic boolean isRedoable()
UndoableActionpublic void undoAction()
UndoableActionprotected boolean isSheetProtected()
AbstractUndoableActionisSheetProtected in class AbstractUndoableActionCopyright © 2020. All rights reserved.