public enum GridVariant extends Enum<GridVariant>
vaadin-grid
component.Enum Constant and Description |
---|
LUMO_COLUMN_BORDERS |
LUMO_COMPACT |
LUMO_NO_BORDER |
LUMO_NO_ROW_BORDERS |
LUMO_ROW_STRIPES |
LUMO_WRAP_CELL_CONTENT |
MATERIAL_COLUMN_DIVIDERS |
Modifier and Type | Method and Description |
---|---|
String |
getVariantName()
Gets the variant name.
|
static GridVariant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridVariant LUMO_NO_BORDER
public static final GridVariant LUMO_NO_ROW_BORDERS
public static final GridVariant LUMO_COLUMN_BORDERS
public static final GridVariant LUMO_ROW_STRIPES
public static final GridVariant LUMO_COMPACT
public static final GridVariant LUMO_WRAP_CELL_CONTENT
public static final GridVariant MATERIAL_COLUMN_DIVIDERS
public static GridVariant[] values()
for (GridVariant c : GridVariant.values()) System.out.println(c);
public static GridVariant 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.