Namespace EasyXLS.Constants
Class DataValidator
System.Object
EasyXLS.Constants.DataValidator
public class DataValidator
extends System.Object
This class contains the constants for creating a data validator
-
Constant Summary
Modifier and TypeFieldDescriptionconst int
A constant indicating the "Error message" box type.const int
A constant indicating the "Error message" box type.const int
A constant indicating the "Error message" box type.const int
A constant indicating the "between" operator.const int
A constant indicating the "equal to" operator.const int
A constant indicating the "greater than to" operator.const int
A constant indicating the "greater than or equal to" operator.const int
A constant indicating the "less than" operator.const int
A constant indicating the "less than or equal to" operator.const int
A constant indicating the "not between" operator.const int
A constant indicating the "non equal to" operator.const int
A constant indicating a validation type that allows for any value to be entered in a cell.const int
A constant indicating a custom validation type.const int
A constant indicating a validation type that only allows dates to be entered in cell.const int
A constant indicating a validation type that only allows for decimals to be entered in a cell.const int
A constant indicating a validation type that only allows values from a specified list to be entered in cell.const int
A constant indicating a validation type that only allows strings limited to a number of characters to be entered in cell.const int
A constant indicating a validation type that only allows for dates to be entered in a cell.const int
A constant indicating a validation type that only allows integers to be entered in cell. -
Constructor Summary
-
Method Summary
Methods inherited from class System.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
VALIDATE_ANY_VALUE
public const final int VALIDATE_ANY_VALUEA constant indicating a validation type that allows for any value to be entered in a cell. Embedded value is "0".- See Also:
- Constant Values
-
VALIDATE_WHOLE_NUMBER
public const final int VALIDATE_WHOLE_NUMBERA constant indicating a validation type that only allows integers to be entered in cell. Embedded value is "1".- See Also:
- Constant Values
-
VALIDATE_DECIMAL
public const final int VALIDATE_DECIMALA constant indicating a validation type that only allows for decimals to be entered in a cell. Embedded value is "2".- See Also:
- Constant Values
-
VALIDATE_LIST
public const final int VALIDATE_LISTA constant indicating a validation type that only allows values from a specified list to be entered in cell. Embedded value is "3".- See Also:
- Constant Values
-
VALIDATE_DATE
public const final int VALIDATE_DATEA constant indicating a validation type that only allows dates to be entered in cell. Embedded value is "4".- See Also:
- Constant Values
-
VALIDATE_TIME
public const final int VALIDATE_TIMEA constant indicating a validation type that only allows for dates to be entered in a cell. Embedded value is "5".- See Also:
- Constant Values
-
VALIDATE_TEXT_LENGTH
public const final int VALIDATE_TEXT_LENGTHA constant indicating a validation type that only allows strings limited to a number of characters to be entered in cell. Embedded value is "6".- See Also:
- Constant Values
-
VALIDATE_CUSTOM
public const final int VALIDATE_CUSTOMA constant indicating a custom validation type. Embedded value is "7".- See Also:
- Constant Values
-
OPERATOR_BETWEEN
public const final int OPERATOR_BETWEENA constant indicating the "between" operator. Embedded value is "0".- See Also:
- Constant Values
-
OPERATOR_NOT_BETWEEN
public const final int OPERATOR_NOT_BETWEENA constant indicating the "not between" operator. Embedded value is "1".- See Also:
- Constant Values
-
OPERATOR_EQUAL_TO
public const final int OPERATOR_EQUAL_TOA constant indicating the "equal to" operator. Embedded value is "2".- See Also:
- Constant Values
-
OPERATOR_NOT_EQUAL_TO
public const final int OPERATOR_NOT_EQUAL_TOA constant indicating the "non equal to" operator. Embedded value is "3".- See Also:
- Constant Values
-
OPERATOR_GREATER_THAN
public const final int OPERATOR_GREATER_THANA constant indicating the "greater than to" operator. Embedded value is "4".- See Also:
- Constant Values
-
OPERATOR_LESS_THAN
public const final int OPERATOR_LESS_THANA constant indicating the "less than" operator. Embedded value is "5".- See Also:
- Constant Values
-
OPERATOR_GREATER_THAN_OR_EQUAL_TO
public const final int OPERATOR_GREATER_THAN_OR_EQUAL_TOA constant indicating the "greater than or equal to" operator. Embedded value is "6".- See Also:
- Constant Values
-
OPERATOR_LESS_THAN_OR_EQUAL_TO
public const final int OPERATOR_LESS_THAN_OR_EQUAL_TOA constant indicating the "less than or equal to" operator. Embedded value is "7".- See Also:
- Constant Values
-
ERROR_STOP
public const final int ERROR_STOPA constant indicating the "Error message" box type. Embedded value is "0".- See Also:
- Constant Values
-
ERROR_WARNING
public const final int ERROR_WARNINGA constant indicating the "Error message" box type. Embedded value is "1".- See Also:
- Constant Values
-
ERROR_INFO
public const final int ERROR_INFOA constant indicating the "Error message" box type. Embedded value is "2".- See Also:
- Constant Values
-
-
Constructor Details
-
DataValidator
public DataValidator()
-