public static enum Grid.SelectionMode extends Enum<Grid.SelectionMode>
Enum Constant and Description |
---|
MULTI
Shortcut for
SelectionModelMulti . |
NONE
Shortcut for
SelectionModelNone . |
SINGLE
Shortcut for
SelectionModelSingle . |
Modifier and Type | Method and Description |
---|---|
protected abstract <T> SelectionModel<T> |
createModel() |
static Grid.SelectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Grid.SelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Grid.SelectionMode SINGLE
SelectionModelSingle
.public static final Grid.SelectionMode MULTI
SelectionModelMulti
.public static final Grid.SelectionMode NONE
SelectionModelNone
.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 <T> SelectionModel<T> createModel()
Copyright © 2019 Vaadin Ltd. All rights reserved.