|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GridState.SharedSelectionMode>
com.vaadin.shared.ui.grid.GridState.SharedSelectionMode
public static enum GridState.SharedSelectionMode
A description of which of the three bundled SelectionModels is currently in use.
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 Summary | |
|---|---|
MULTI
Representation of a multiselection mode |
|
NONE
Representation of a no-selection mode |
|
SINGLE
Representation of a single selection mode |
|
| Method Summary | |
|---|---|
static GridState.SharedSelectionMode |
valueOf(java.lang.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. |
| 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 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#NONE| Method Detail |
|---|
public static GridState.SharedSelectionMode[] values()
for (GridState.SharedSelectionMode c : GridState.SharedSelectionMode.values()) System.out.println(c);
public static GridState.SharedSelectionMode 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 null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||