public static enum DataGrid.SelectionMode extends java.lang.Enum<DataGrid.SelectionMode>
Enum Constant and Description |
---|
MULTI
A SelectionMode that supports multiple selections to be made.
|
MULTI_CHECK
A SelectionMode that supports multiple selections to be made, using built-in selection
checkbox column.
|
NONE
A SelectionMode that does not allow for rows to be selected.
|
SINGLE
A SelectionMode that supports for only single rows to be selected at a time.
|
Modifier and Type | Method and Description |
---|---|
static DataGrid.SelectionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataGrid.SelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataGrid.SelectionMode SINGLE
public static final DataGrid.SelectionMode MULTI
public static final DataGrid.SelectionMode MULTI_CHECK
public static final DataGrid.SelectionMode NONE
public static DataGrid.SelectionMode[] values()
for (DataGrid.SelectionMode c : DataGrid.SelectionMode.values()) System.out.println(c);
public static DataGrid.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 namejava.lang.NullPointerException
- if the argument is null