Enum Class TableColumnFormat

java.lang.Object
java.lang.Enum<TableColumnFormat>
com.djrapitops.plan.extension.table.TableColumnFormat
All Implemented Interfaces:
Serializable, Comparable<TableColumnFormat>, Constable

public enum TableColumnFormat extends Enum<TableColumnFormat>
  • Enum Constant Details

    • PLAYER_NAME

      public static final TableColumnFormat PLAYER_NAME
      String variables to be formatted as links to player page.
    • CHAT_COLORED

      public static final TableColumnFormat CHAT_COLORED
      String variables to be formatted as colored (using § character).
    • TIME_MILLISECONDS

      public static final TableColumnFormat TIME_MILLISECONDS
      Number variables to be formatted as time amount (eg. 1h 30m 25s).
    • DATE_YEAR

      public static final TableColumnFormat DATE_YEAR
      Number epoch millisecond to be formatted as date without second indicator.
    • DATE_SECOND

      public static final TableColumnFormat DATE_SECOND
      Number epoch millisecond to be formatted as date with second indicator.
    • NONE

      public static final TableColumnFormat NONE
      Default formatting, no extra formatting applied.
  • Method Details

    • values

      public static TableColumnFormat[] 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 TableColumnFormat 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