Package io.jenkins.plugins.datatables
Enum Class TableColumn.ColumnType
- All Implemented Interfaces:
Serializable
,Comparable<TableColumn.ColumnType>
,Constable
- Enclosing class:
TableColumn
Supported DataTables column types. When operating in client-side processing mode, DataTables can process the data
used for the display in each cell in a manner suitable for the action being performed. For example, HTML tags
will be removed from the strings used for filter matching, while sort formatting may remove currency symbols to
allow currency values to be sorted numerically. The formatting action performed to normalise the data, so it can
be ordered and searched depends upon the column's type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDate or time values.Formatted numbers will be shown right aligned, and use numeric sorting of formatted numbers.Formatted numbers will be shown right aligned, and use numeric sorting of formatted numbers.Numbers will be shown right aligned, and use a simple number sorting.Numbers will be shown right aligned, and use a simple number sorting.Fall back type if the data in the column does not match the requirements for the other data types (above). -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static TableColumn.ColumnType
Returns the enum constant of this class with the specified name.static TableColumn.ColumnType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATE
Date or time values. -
NUMBER
Numbers will be shown right aligned, and use a simple number sorting. -
HTML_NUMBER
Numbers will be shown right aligned, and use a simple number sorting. May contain HTML tags also in the data. -
FORMATTED_NUMBER
Formatted numbers will be shown right aligned, and use numeric sorting of formatted numbers. Numbers which are formatted with thousands separators, currency symbols or a percentage indicator will be sorted numerically automatically by DataTables. -
FORMATTED_HTML_NUMBER
Formatted numbers will be shown right aligned, and use numeric sorting of formatted numbers. Numbers which are formatted with thousands separators, currency symbols or a percentage indicator will be sorted numerically automatically by DataTables. May contain HTML tags also in the data. -
STRING
Fall back type if the data in the column does not match the requirements for the other data types (above).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<TableColumn.ColumnType>
-