com.vaadin.flow.component.gridpro.
Enum GridProVariant
- java.lang.Object
-
- java.lang.Enum<GridProVariant>
-
- com.vaadin.flow.component.gridpro.GridProVariant
-
All Implemented Interfaces:
public enum GridProVariant extends Enum<GridProVariant>
Set of theme variants applicable for
vaadin-grid-pro
component.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LUMO_COLUMN_BORDERS
LUMO_COMPACT
LUMO_HIGHLIGHT_EDITABLE_CELLS
LUMO_HIGHLIGHT_READ_ONLY_CELLS
LUMO_NO_BORDER
LUMO_NO_ROW_BORDERS
LUMO_ROW_STRIPES
LUMO_WRAP_CELL_CONTENT
MATERIAL_COLUMN_DIVIDERS
-
Method Summary
All Methods Modifier and Type Method Description String
getVariantName()
Gets the variant name.
static GridProVariant
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static GridProVariant[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LUMO_NO_BORDER
public static final GridProVariant LUMO_NO_BORDER
-
LUMO_NO_ROW_BORDERS
public static final GridProVariant LUMO_NO_ROW_BORDERS
-
LUMO_COLUMN_BORDERS
public static final GridProVariant LUMO_COLUMN_BORDERS
-
LUMO_ROW_STRIPES
public static final GridProVariant LUMO_ROW_STRIPES
-
LUMO_COMPACT
public static final GridProVariant LUMO_COMPACT
-
LUMO_WRAP_CELL_CONTENT
public static final GridProVariant LUMO_WRAP_CELL_CONTENT
-
MATERIAL_COLUMN_DIVIDERS
public static final GridProVariant MATERIAL_COLUMN_DIVIDERS
-
LUMO_HIGHLIGHT_EDITABLE_CELLS
public static final GridProVariant LUMO_HIGHLIGHT_EDITABLE_CELLS
-
LUMO_HIGHLIGHT_READ_ONLY_CELLS
public static final GridProVariant LUMO_HIGHLIGHT_READ_ONLY_CELLS
-
-
Method Detail
-
values
public static GridProVariant[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GridProVariant c : GridProVariant.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GridProVariant valueOf​(String name)
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
-
getVariantName
public String getVariantName()
Gets the variant name.
Returns:
variant name
-
-