Package com.smartgwt.client.types
Enum ValueClass
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<ValueClass>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA fixed list of categories or nominal values.Any kind of data.Strictly numerical data.An extension of CATEGORICAL, where the categories are also strictly ordered.An extension of INTERVAL, where 0 means the absence of something, and ratios between values are meaningful. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static ValueClass
Returns the enum constant of this type with the specified name.static ValueClass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GENERAL
Any kind of data. Usually this is textual, but not necessarily always so. An example would be a "2-4 sentence summary".If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "general". -
CATEGORICAL
A fixed list of categories or nominal values.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "categorical". -
ORDINAL
An extension of CATEGORICAL, where the categories are also strictly ordered.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "ordinal". -
INTERVAL
Strictly numerical data.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "interval". -
RATIO
An extension of INTERVAL, where 0 means the absence of something, and ratios between values are meaningful.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "ratio".
-
-
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
-