public interface IValidation
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowBlankCells()
Gets a value indicating whether the validation should be skipped for blank cells.
|
ValidationErrorAction |
getErrorAction()
Gets the action to perform when the validation fails.
|
java.lang.String |
getErrorMessage()
Gets the error message.
|
java.lang.String |
getErrorTitle()
Gets the title of the error message.
|
java.lang.String |
getFirst()
Gets the first value of the validation.
|
java.lang.String |
getFirstInvariant()
For internal use.
|
java.lang.String |
getInputMessage()
Gets the input message.
|
java.lang.String |
getInputTitle()
Gets the title of the input message.
|
ComparisonOperator |
getOperator()
Gets the comparison operator, for validation types that require an operator.
|
int |
getOriginColumn()
Gets the origin column of this validation.
|
int |
getOriginRow()
Gets the origin row of this validation.
|
java.lang.String |
getSecond()
Gets the second value of the validation.
|
java.lang.String |
getSecondInvariant()
For internal use.
|
boolean |
getShowDropdownList()
Gets a value indicating whether to display drop-down list when a cell in the
validated range is selected and the validation type is set to List.
|
boolean |
getShowError()
Gets a value indicating whether to display error messages when the validation fails.
|
boolean |
getShowInputMessage()
Gets a value indicating whether to display information message when a cell in the validated range is selected.
|
boolean |
getSortListEntries()
Gets a value indicating whether to sort the entries in the drop-down list.
|
ValidationType |
getType()
Gets the validation type.
|
Worksheet |
getWorksheet()
Gets the worksheet this validation is associated with.
|
void |
reset()
Resets the validation to the default.
|
void |
setAllowBlankCells(boolean value)
Sets a value indicating whether the validation should be skipped for blank cells.
|
void |
setErrorAction(ValidationErrorAction value)
Sets the action to perform when the validation fails.
|
void |
setErrorMessage(java.lang.String value)
Sets the error message.
|
void |
setErrorTitle(java.lang.String value)
Sets the title of the error message.
|
void |
setFirst(java.lang.String value)
Sets the first value of the validation.
|
void |
setFirstInvariant(java.lang.String value)
For internal use.
|
void |
setInputMessage(java.lang.String value)
Sets the input message.
|
void |
setInputTitle(java.lang.String value)
Sets the title of the input message.
|
void |
setOperator(ComparisonOperator value)
Sets the comparison operator, for validation types that require an operator.
|
void |
setOriginColumn(int value)
Sets the origin column of this validation.
|
void |
setOriginRow(int value)
Sets the origin row of this validation.
|
void |
setSecond(java.lang.String value)
Sets the second value of the validation.
|
void |
setSecondInvariant(java.lang.String value)
For internal use.
|
void |
setShowDropdownList(boolean value)
Sets a value indicating whether to display drop-down list when a cell in the
validated range is selected and the validation type is set to List.
|
void |
setShowError(boolean value)
Sets a value indicating whether to display error messages when the validation fails.
|
void |
setShowInputMessage(boolean value)
Sets a value indicating whether to display information message when a cell in the validated range is selected.
|
void |
setSortListEntries(boolean value)
Sets a value indicating whether to sort the entries in the drop-down list.
|
void |
setType(ValidationType value)
Sets the validation type.
|
void reset()
Worksheet getWorksheet()
ValidationType getType()
void setType(ValidationType value)
ComparisonOperator getOperator()
void setOperator(ComparisonOperator value)
java.lang.String getFirst()
void setFirst(java.lang.String value)
java.lang.String getFirstInvariant()
void setFirstInvariant(java.lang.String value)
java.lang.String getSecond()
void setSecond(java.lang.String value)
java.lang.String getSecondInvariant()
void setSecondInvariant(java.lang.String value)
boolean getAllowBlankCells()
void setAllowBlankCells(boolean value)
boolean getShowError()
void setShowError(boolean value)
boolean getShowInputMessage()
void setShowInputMessage(boolean value)
boolean getShowDropdownList()
void setShowDropdownList(boolean value)
boolean getSortListEntries()
void setSortListEntries(boolean value)
ValidationErrorAction getErrorAction()
void setErrorAction(ValidationErrorAction value)
java.lang.String getErrorTitle()
void setErrorTitle(java.lang.String value)
java.lang.String getErrorMessage()
void setErrorMessage(java.lang.String value)
java.lang.String getInputTitle()
void setInputTitle(java.lang.String value)
java.lang.String getInputMessage()
void setInputMessage(java.lang.String value)
int getOriginColumn()
void setOriginColumn(int value)
int getOriginRow()
void setOriginRow(int value)