Package com.smartgwt.client.types
Enum PreRenderFormatValues
- All Implemented Interfaces:
ValueEnum,Serializable,Comparable<PreRenderFormatValues>,Constable
Controls which formatting stages are applied to cell values during canvas
ListGrid.preRender rendering in "data" mode.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFull formatting pipeline including customfield.formatCellValue()andgrid.formatCellValue()methods.AppliesvalueMaps,displayFieldsubstitution,format strings, and type-specific formatters viaListGrid.getDefaultFormattedValue().Raw record values only (record[field.name]). -
Method Summary
Modifier and TypeMethodDescriptiongetValue()static PreRenderFormatValuesReturns the enum constant of this type with the specified name.static PreRenderFormatValues[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
Raw record values only (record[field.name]). Fastest ? no formatting overhead.If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "none". -
DEFAULT
AppliesvalueMaps,displayFieldsubstitution,format strings, and type-specific formatters viaListGrid.getDefaultFormattedValue(). Does not call customfield.formatCellValue()orgrid.formatCellValue().If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "default". -
CUSTOM
Full formatting pipeline including customfield.formatCellValue()andgrid.formatCellValue()methods. Any HTML tags in the result will appear as literal text in the canvas preview, since Canvas 2D cannot render HTML. Slowest option.If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "custom".
-
-
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
-