Package org.apache.juneau.console.views
Enum Class FieldSpan
- All Implemented Interfaces:
Serializable,Comparable<FieldSpan>,Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
ONE
One column. The default. -
FULL
Every column the grid is currently rendering.
-
-
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
-