Enum Class FieldSpan

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

public enum FieldSpan extends Enum<FieldSpan>
How many of a field-grid's columns one catalog entry occupies.

A span is a maximum: it clamps downward as the grid steps down, and it never creates a column beyond the rendered count. At one column FULL and ONE render identically.

A closed vocabulary the framework translates to a class, never a CSS value an author supplies.

Since:
10.0.0
  • Enum Constant Details

    • ONE

      public static final FieldSpan ONE
      One column. The default.
    • FULL

      public static final FieldSpan FULL
      Every column the grid is currently rendering.
  • Method Details

    • values

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