public static enum GridState.SharedSelectionMode extends Enum<GridState.SharedSelectionMode>
Used as a data transfer object instead of the client/server ones, because they don't know about each others classes.
com.vaadin.ui.components.grid.Grid.SelectionMode,
com.vaadin.client.ui.grid.Grid.SelectionMode| Enum Constant and Description |
|---|
MULTI
Representation of a multiselection mode.
|
NONE
Representation of a no-selection mode.
|
SINGLE
Representation of a single selection mode.
|
| Modifier and Type | Method and Description |
|---|---|
static GridState.SharedSelectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridState.SharedSelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridState.SharedSelectionMode SINGLE
com.vaadin.ui.components.grid.Grid.SelectionMode#SINGLE,
com.vaadin.client.ui.grid.Grid.SelectionMode#SINGLEpublic static final GridState.SharedSelectionMode MULTI
com.vaadin.ui.components.grid.Grid.SelectionMode#MULTI,
com.vaadin.client.ui.grid.Grid.SelectionMode#MULTIpublic static final GridState.SharedSelectionMode NONE
com.vaadin.ui.components.grid.Grid.SelectionMode#NONE,
com.vaadin.client.ui.grid.Grid.SelectionMode#NONEpublic static GridState.SharedSelectionMode[] values()
for (GridState.SharedSelectionMode c : GridState.SharedSelectionMode.values()) System.out.println(c);
public static GridState.SharedSelectionMode 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 nullCopyright © 2021 Vaadin Ltd. All rights reserved.