Enum Class TableSpec.DataMode

java.lang.Object
java.lang.Enum<TableSpec.DataMode>
org.apache.juneau.console.views.TableSpec.DataMode
All Implemented Interfaces:
Serializable, Comparable<TableSpec.DataMode>, Constable
Enclosing class:
TableSpec

public static enum TableSpec.DataMode extends Enum<TableSpec.DataMode>
Where a view's rows come from. Wire tokens are lowercase.
  • Enum Constant Details

    • CLIENT

      public static final TableSpec.DataMode CLIENT
      Paging, sorting and search run client-side, against the full dataUrl payload.
    • SERVER

      public static final TableSpec.DataMode SERVER
      Paging, sorting and search are delegated to dataUrl on every draw.
  • Method Details

    • values

      public static TableSpec.DataMode[] 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 TableSpec.DataMode 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
    • wire

      public String wire()
      Returns:
      The lowercase wire token.