@Deprecated public static enum Grid.SelectionMode extends Enum<Grid.SelectionMode>
SelectionModels that come bundled with Grid.
Passing one of these enums into
Grid.setSelectionMode(SelectionMode) is equivalent to calling
Grid.setSelectionModel(SelectionModel) with one of the built-in
implementations of Grid.SelectionModel.
| Enum Constant and Description |
|---|
MULTI
Deprecated.
A SelectionMode that maps to
Grid.MultiSelectionModel. |
NONE
Deprecated.
A SelectionMode that maps to
Grid.NoSelectionModel. |
SINGLE
Deprecated.
A SelectionMode that maps to
Grid.SingleSelectionModel. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Grid.SelectionModel |
createModel()
Deprecated.
|
static Grid.SelectionMode |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Grid.SelectionMode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Grid.SelectionMode SINGLE
Grid.SingleSelectionModel.public static final Grid.SelectionMode MULTI
Grid.MultiSelectionModel.public static final Grid.SelectionMode NONE
Grid.NoSelectionModel.public static Grid.SelectionMode[] values()
for (Grid.SelectionMode c : Grid.SelectionMode.values()) System.out.println(c);
public static Grid.SelectionMode 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 nullprotected abstract Grid.SelectionModel createModel()
Copyright © 2019 Vaadin Ltd. All rights reserved.