Package io.jenkins.plugins.datatables
Enum Class TableColumn.ColumnCss
- All Implemented Interfaces:
Serializable
,Comparable<TableColumn.ColumnCss>
,Constable
- Enclosing class:
TableColumn
Supported CSS classes that will enable special handling or rendering for table columns. Some of them will be
mapped in the JS initialization (see "table.js").
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDates will be shown using Luxon.Hides the column for view.Disables sorting of the column.No special rendering, the display property will be shown as such.Numbers will be shown right aligned, so they can be compared more easily.Percentages (values in the interval [0,1]) will be rendered correctly as a percentage using the native JS locale sensitive rendering. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static TableColumn.ColumnCss
Returns the enum constant of this class with the specified name.static TableColumn.ColumnCss[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No special rendering, the display property will be shown as such. -
DATE
Dates will be shown using Luxon. The display value will be a human friendly relative time like "two weeks ago", rather than an absolute time. A tooltip is available that shows the absolute time. -
PERCENTAGE
Percentages (values in the interval [0,1]) will be rendered correctly as a percentage using the native JS locale sensitive rendering. -
NUMBER
Numbers will be shown right aligned, so they can be compared more easily. -
NO_SORT
Disables sorting of the column. Rendering is the same as withNONE
. -
HIDDEN
Hides the column for view. It still exists and responds to searching
-
-
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.ColumnCss>
-