|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Grid.SelectionMode>
com.vaadin.ui.Grid.SelectionMode
public static enum Grid.SelectionMode
Selection modes representing built-in 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.
Grid.setSelectionMode(SelectionMode),
Grid.setSelectionModel(SelectionModel)| Enum Constant Summary | |
|---|---|
MULTI
A SelectionMode that maps to Grid.MultiSelectionModel |
|
NONE
A SelectionMode that maps to Grid.NoSelectionModel |
|
SINGLE
A SelectionMode that maps to Grid.SingleSelectionModel |
|
| Method Summary | |
|---|---|
protected abstract Grid.SelectionModel |
createModel()
|
static Grid.SelectionMode |
valueOf(java.lang.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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Grid.SelectionMode SINGLE
Grid.SingleSelectionModel
public static final Grid.SelectionMode MULTI
Grid.MultiSelectionModel
public static final Grid.SelectionMode NONE
Grid.NoSelectionModel
| Method Detail |
|---|
public static Grid.SelectionMode[] values()
for (Grid.SelectionMode c : Grid.SelectionMode.values()) System.out.println(c);
public static Grid.SelectionMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullprotected abstract Grid.SelectionModel createModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||