Enum Class TableColumn.ColumnCss

java.lang.Object
java.lang.Enum<TableColumn.ColumnCss>
io.jenkins.plugins.datatables.TableColumn.ColumnCss
All Implemented Interfaces:
Serializable, Comparable<TableColumn.ColumnCss>, Constable
Enclosing class:
TableColumn

public static enum TableColumn.ColumnCss extends Enum<TableColumn.ColumnCss>
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").
  • Enum Constant Details

    • NONE

      public static final TableColumn.ColumnCss NONE
      No special rendering, the display property will be shown as such.
    • DATE

      public static final TableColumn.ColumnCss 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

      public static final TableColumn.ColumnCss PERCENTAGE
      Percentages (values in the interval [0,1]) will be rendered correctly as a percentage using the native JS locale sensitive rendering.
    • NUMBER

      public static final TableColumn.ColumnCss NUMBER
      Numbers will be shown right aligned, so they can be compared more easily.
    • NO_SORT

      public static final TableColumn.ColumnCss NO_SORT
      Disables sorting of the column. Rendering is the same as with NONE.
    • HIDDEN

      public static final TableColumn.ColumnCss HIDDEN
      Hides the column for view. It still exists and responds to searching
  • Method Details

    • values

      public static TableColumn.ColumnCss[] 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

      public static TableColumn.ColumnCss valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TableColumn.ColumnCss>