public class SortCellAction extends AbstractCellDataStyleAction
RESERVE_ALL, RESERVE_CONTENT, RESERVE_MERGE, RESERVE_STYLE
_column, _label, _lastColumn, _lastRow, _row, _sheet, _wholeColumn, _wholeRow
Constructor and Description |
---|
SortCellAction(String label,
Sheet sheet,
int row,
int column,
int lastRow,
int lastColumn,
boolean desc)
Deprecated.
|
SortCellAction(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) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyAction() |
protected boolean |
isSheetProtected()
Check if sheet is protected
|
doAction, getReservedColumn, getReservedLastColumn, getReservedLastRow, getReservedRow, getReservedSheet, isRedoable, isUndoable, undoAction
getLabel, getRedoSelection, getRedoSheet, getUndoSelection, getUndoSheet, isAnyCellProtected, isSheetAvailable, toString
public SortCellAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, Range index1, boolean desc1)
@Deprecated public SortCellAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, boolean desc)
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)
protected void applyAction()
applyAction
in class AbstractCellDataStyleAction
protected boolean isSheetProtected()
AbstractUndoableAction
isSheetProtected
in class AbstractCellDataStyleAction
Copyright © 2020. All rights reserved.