Package io.keikaiex.ui.impl.undo
Class DataValidationAction
- java.lang.Object
-
- io.keikai.ui.impl.undo.AbstractUndoableAction
-
- io.keikaiex.ui.impl.undo.DataValidationAction
-
- All Implemented Interfaces:
UndoableAction,Serializable
public class DataValidationAction extends AbstractUndoableAction
- Since:
- 3.8.0
- Author:
- JerryChen
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
_column, _label, _lastColumn, _lastRow, _row, _sheet, _wholeColumn, _wholeRow
-
-
Constructor Summary
Constructors Constructor Description DataValidationAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, Validation.ValidationType validationType, boolean ignoreBlank, Validation.OperatorType operatorType, boolean inCellDropDown, String param1, String param2, boolean showInput, String inputTitle, String inputMessage, boolean showError, Validation.AlertStyle alertStyle, String errorTitle, String errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoAction()do the action, either first time or redobooleanisRedoable()Check if still redoable or notprotected booleanisSheetProtected()Check if sheet is protectedbooleanisUndoable()Check if still undoable or notvoidundoAction()Undo the action-
Methods inherited from class io.keikai.ui.impl.undo.AbstractUndoableAction
getLabel, getRedoSelection, getRedoSheet, getUndoSelection, getUndoSheet, isAnyCellProtected, isSheetAvailable, toString
-
-
-
-
Constructor Detail
-
DataValidationAction
public DataValidationAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, Validation.ValidationType validationType, boolean ignoreBlank, Validation.OperatorType operatorType, boolean inCellDropDown, String param1, String param2, boolean showInput, String inputTitle, String inputMessage, boolean showError, Validation.AlertStyle alertStyle, String errorTitle, String errorMessage)
-
-
Method Detail
-
doAction
public void doAction()
Description copied from interface:UndoableActiondo the action, either first time or redo
-
isUndoable
public boolean isUndoable()
Description copied from interface:UndoableActionCheck if still undoable or not- Returns:
-
isRedoable
public boolean isRedoable()
Description copied from interface:UndoableActionCheck if still redoable or not- Returns:
-
undoAction
public void undoAction()
Description copied from interface:UndoableActionUndo the action
-
isSheetProtected
protected boolean isSheetProtected()
Description copied from class:AbstractUndoableActionCheck if sheet is protected- Overrides:
isSheetProtectedin classAbstractUndoableAction- Returns:
-
-