Package com.smartgwt.client.types
Enum RowRangeDisplayStyle
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<RowRangeDisplayStyle>
,Constable
Governs how
ListGrid.getRowRangeDisplayValue()
formats the row range and row count for display-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTheListGrid.briefRowRangeDisplayValue
template will be used to display both row range and row countTheListGrid.getFormattedRowCount()
will be displayed with no other text.TheListGrid.fullRowRangeDisplayValue
template will be used to display both row range and row countTheListGrid.getFormattedRowRange()
will be displayed with no other text. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static RowRangeDisplayStyle
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.
-
Enum Constant Details
-
FULL
TheListGrid.fullRowRangeDisplayValue
template will be used to display both row range and row countIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "full". -
BRIEF
TheListGrid.briefRowRangeDisplayValue
template will be used to display both row range and row countIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "brief". -
COUNTONLY
TheListGrid.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". -
RANGEONLY
TheListGrid.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".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-