public enum RowRangeDisplayStyle extends java.lang.Enum<RowRangeDisplayStyle> implements ValueEnum
ListGrid.getRowRangeDisplayValue()
formats the row range and row count for displayEnum Constant and Description |
---|
BRIEF
The
ListGrid.briefRowRangeDisplayValue
template will be used to display both row range and row count |
COUNTONLY
The
ListGrid.getFormattedRowCount() will be
displayed with no other text. |
FULL
The
ListGrid.fullRowRangeDisplayValue
template will be used to display both row range and row count |
RANGEONLY
The
ListGrid.getFormattedRowRange() will be
displayed with no other text. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static RowRangeDisplayStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RowRangeDisplayStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RowRangeDisplayStyle FULL
ListGrid.fullRowRangeDisplayValue
template will be used to display both row range and row count
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "full".
public static final RowRangeDisplayStyle BRIEF
ListGrid.briefRowRangeDisplayValue
template will be used to display both row range and row count
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "brief".
public static final RowRangeDisplayStyle COUNTONLY
ListGrid.getFormattedRowCount()
will be
displayed with no other text.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "countOnly".
public static final RowRangeDisplayStyle RANGEONLY
ListGrid.getFormattedRowRange()
will be
displayed with no other text.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "rangeOnly".
public static RowRangeDisplayStyle[] values()
for (RowRangeDisplayStyle c : RowRangeDisplayStyle.values()) System.out.println(c);
public static RowRangeDisplayStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null