public class DataValidationAction extends AbstractUndoableAction
_column, _label, _lastColumn, _lastRow, _row, _sheet, _wholeColumn, _wholeRow
Constructor and Description |
---|
DataValidationAction(java.lang.String label,
Sheet sheet,
int row,
int column,
int lastRow,
int lastColumn,
Validation.ValidationType validationType,
boolean ignoreBlank,
Validation.OperatorType operatorType,
boolean inCellDropDown,
java.lang.String param1,
java.lang.String param2,
boolean showInput,
java.lang.String inputTitle,
java.lang.String inputMessage,
boolean showError,
Validation.AlertStyle alertStyle,
java.lang.String errorTitle,
java.lang.String errorMessage) |
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, toString
public DataValidationAction(java.lang.String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, Validation.ValidationType validationType, boolean ignoreBlank, Validation.OperatorType operatorType, boolean inCellDropDown, java.lang.String param1, java.lang.String param2, boolean showInput, java.lang.String inputTitle, java.lang.String inputMessage, boolean showError, Validation.AlertStyle alertStyle, java.lang.String errorTitle, java.lang.String errorMessage)
public void doAction()
UndoableAction
public boolean isUndoable()
UndoableAction
public boolean isRedoable()
UndoableAction
public void undoAction()
UndoableAction
protected boolean isSheetProtected()
AbstractUndoableAction
isSheetProtected
in class AbstractUndoableAction
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.