Enum Class LookupFieldVariant
- All Implemented Interfaces:
Serializable,Comparable<LookupFieldVariant>,Constable
Theme variants that can be applied to the lookup field.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionVariant that makes the label take the full width.Variant that renders the field in an integrated style.Large size variant.Medium size variant.Small size variant. -
Method Summary
Modifier and TypeMethodDescriptionGets the theme name used by this variant.static LookupFieldVariantReturns the enum constant of this class with the specified name.static LookupFieldVariant[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIZE_SMALL
Small size variant. -
SIZE_MEDIUM
Medium size variant. -
SIZE_LARGE
Large size variant. -
FULL_WIDTH_LABEL
Variant that makes the label take the full width. -
INTEGRATED
Variant that renders the field in an integrated style.
-
-
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
-
getVariantName
Gets the theme name used by this variant.- Returns:
- the variant theme name
-