public enum TextFieldVariant extends Enum<TextFieldVariant>
vaadin-text-field
component.Enum Constant and Description |
---|
LUMO_ALIGN_CENTER |
LUMO_ALIGN_RIGHT |
LUMO_HELPER_ABOVE_FIELD |
LUMO_SMALL |
MATERIAL_ALWAYS_FLOAT_LABEL |
Modifier and Type | Method and Description |
---|---|
String |
getVariantName()
Gets the variant name.
|
static TextFieldVariant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextFieldVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextFieldVariant LUMO_SMALL
public static final TextFieldVariant LUMO_ALIGN_CENTER
public static final TextFieldVariant LUMO_ALIGN_RIGHT
public static final TextFieldVariant LUMO_HELPER_ABOVE_FIELD
public static final TextFieldVariant MATERIAL_ALWAYS_FLOAT_LABEL
public static TextFieldVariant[] values()
for (TextFieldVariant c : TextFieldVariant.values()) System.out.println(c);
public static TextFieldVariant valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getVariantName()
Copyright © 2023. All rights reserved.