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
FieldsModifier and TypeFieldDescriptionconst intA constant indicating the "Error message" box type.const intA constant indicating the "Error message" box type.const intA constant indicating the "Error message" box type.const intA constant indicating the "between" operator.const intA constant indicating the "equal to" operator.const intA constant indicating the "greater than to" operator.const intA constant indicating the "greater than or equal to" operator.const intA constant indicating the "less than" operator.const intA constant indicating the "less than or equal to" operator.const intA constant indicating the "not between" operator.const intA constant indicating the "non equal to" operator.const intA constant indicating a validation type that allows for any value to be entered in a cell.const intA constant indicating a custom validation type.const intA constant indicating a validation type that only allows dates to be entered in cell.const intA constant indicating a validation type that only allows for decimals to be entered in a cell.const intA constant indicating a validation type that only allows values from a specified list to be entered in cell.const intA constant indicating a validation type that only allows strings limited to a number of characters to be entered in cell.const intA constant indicating a validation type that only allows for dates to be entered in a cell.const intA constant indicating a validation type that only allows integers to be entered in cell. -
Constructor Summary
Constructors -
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
VALIDATE_CUSTOM
public const final int VALIDATE_CUSTOMA constant indicating a custom validation type. Embedded value is "7".- See Also:
-
OPERATOR_BETWEEN
public const final int OPERATOR_BETWEENA constant indicating the "between" operator. Embedded value is "0".- See Also:
-
OPERATOR_NOT_BETWEEN
public const final int OPERATOR_NOT_BETWEENA constant indicating the "not between" operator. Embedded value is "1".- See Also:
-
OPERATOR_EQUAL_TO
public const final int OPERATOR_EQUAL_TOA constant indicating the "equal to" operator. Embedded value is "2".- See Also:
-
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:
-
OPERATOR_GREATER_THAN
public const final int OPERATOR_GREATER_THANA constant indicating the "greater than to" operator. Embedded value is "4".- See Also:
-
OPERATOR_LESS_THAN
public const final int OPERATOR_LESS_THANA constant indicating the "less than" operator. Embedded value is "5".- See Also:
-
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:
-
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:
-
ERROR_STOP
public const final int ERROR_STOPA constant indicating the "Error message" box type. Embedded value is "0".- See Also:
-
ERROR_WARNING
public const final int ERROR_WARNINGA constant indicating the "Error message" box type. Embedded value is "1".- See Also:
-
ERROR_INFO
public const final int ERROR_INFOA constant indicating the "Error message" box type. Embedded value is "2".- See Also:
-
-
Constructor Details
-
DataValidator
public DataValidator()
-