Package com.vaadin.featurepack.ui
Enum Class FGrid.SelectionMode
- All Implemented Interfaces:
Serializable,Comparable<FGrid.SelectionMode>,Constable
- Enclosing class:
FGrid
Selection modes representing built-in
SelectionModels that come bundled with Grid.
Passing one of these enums into
FGrid.setSelectionMode(SelectionMode) is equivalent to calling
FGrid.setSelectionModel(SelectionModel) with one of the built-in
implementations of FGrid.SelectionModel.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA SelectionMode that maps toFGrid.MultiSelectionModelA SelectionMode that maps toFGrid.NoSelectionModelA SelectionMode that maps toFGrid.SingleSelectionModel -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract FGrid.SelectionModelstatic FGrid.SelectionModeReturns the enum constant of this class with the specified name.static FGrid.SelectionMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SINGLE
A SelectionMode that maps toFGrid.SingleSelectionModel -
MULTI
A SelectionMode that maps toFGrid.MultiSelectionModel -
NONE
A SelectionMode that maps toFGrid.NoSelectionModel
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
createModel
-