Package io.keikai.ui.impl.undo
Class SortCellAction
java.lang.Object
io.keikai.ui.impl.undo.AbstractUndoableAction
io.keikai.ui.impl.undo.AbstractCellDataStyleAction
io.keikai.ui.impl.undo.SortCellAction
- All Implemented Interfaces:
UndoableAction,Serializable
- Author:
- dennis
- See Also:
-
Field Summary
Fields inherited from class io.keikai.ui.impl.undo.AbstractCellDataStyleAction
RESERVE_ALL, RESERVE_CONTENT, RESERVE_MERGE, RESERVE_STYLEFields inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
_column, _label, _lastColumn, _lastRow, _row, _sheet, _wholeColumn, _wholeRow -
Constructor Summary
ConstructorsConstructorDescriptionSortCellAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, Range index1, boolean desc1) SortCellAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, Range index1, boolean desc1, Range.SortDataOption dataOption1, Range index2, boolean desc2, Range.SortDataOption dataOption2, Range index3, boolean desc3, Range.SortDataOption dataOption3, boolean header, boolean matchCase, boolean sortByRows) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected booleanCheck if sheet is protectedMethods inherited from class io.keikai.ui.impl.undo.AbstractCellDataStyleAction
doAction, getReservedColumn, getReservedLastColumn, getReservedLastRow, getReservedRow, getReservedSheet, isRedoable, isUndoable, undoActionMethods inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
getLabel, getRedoSelection, getRedoSheet, getUndoSelection, getUndoSheet, isAnyCellProtected, isSheetAvailable, toString
-
Constructor Details
-
SortCellAction
-
SortCellAction
public SortCellAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, Range index1, boolean desc1, Range.SortDataOption dataOption1, Range index2, boolean desc2, Range.SortDataOption dataOption2, Range index3, boolean desc3, Range.SortDataOption dataOption3, boolean header, boolean matchCase, boolean sortByRows)
-
-
Method Details
-
applyAction
protected void applyAction()- Specified by:
applyActionin classAbstractCellDataStyleAction
-
isSheetProtected
protected boolean isSheetProtected()Description copied from class:AbstractUndoableActionCheck if sheet is protected- Overrides:
isSheetProtectedin classAbstractCellDataStyleAction- Returns:
-