Package com.vaadin.v7.ui
Enum Grid.SelectionMode
- java.lang.Object
-
- java.lang.Enum<Grid.SelectionMode>
-
- com.vaadin.v7.ui.Grid.SelectionMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Grid.SelectionMode>
- Enclosing class:
- Grid
@Deprecated public static enum Grid.SelectionMode extends java.lang.Enum<Grid.SelectionMode>
Deprecated.Selection modes representing built-inSelectionModels
that come bundled withGrid
.Passing one of these enums into
Grid.setSelectionMode(SelectionMode)
is equivalent to callingGrid.setSelectionModel(SelectionModel)
with one of the built-in implementations ofGrid.SelectionModel
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MULTI
Deprecated.A SelectionMode that maps toGrid.MultiSelectionModel
.NONE
Deprecated.A SelectionMode that maps toGrid.NoSelectionModel
.SINGLE
Deprecated.A SelectionMode that maps toGrid.SingleSelectionModel
.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract Grid.SelectionModel
createModel()
Deprecated.static Grid.SelectionMode
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
SINGLE
public static final Grid.SelectionMode SINGLE
Deprecated.A SelectionMode that maps toGrid.SingleSelectionModel
.
-
MULTI
public static final Grid.SelectionMode MULTI
Deprecated.A SelectionMode that maps toGrid.MultiSelectionModel
.
-
NONE
public static final Grid.SelectionMode NONE
Deprecated.A SelectionMode that maps toGrid.NoSelectionModel
.
-
-
Method Detail
-
values
public static Grid.SelectionMode[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Grid.SelectionMode c : Grid.SelectionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Grid.SelectionMode valueOf(java.lang.String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
createModel
protected abstract Grid.SelectionModel createModel()
Deprecated.
-
-