Enum DataGrid.SelectionMode
- All Implemented Interfaces:
Comparable<DataGrid.SelectionMode>
- Enclosing class:
DataGrid
What a tap selects.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAny rows: Shift extends from the last row chosen, Control or Command adds and removes one, and a mouse drag selects a range.Nothing is selected; the keyboard still moves between cells.One cell, outlined, in a row that is shown selected.One row. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataGrid.SelectionModeReturns 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.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
NONE
Nothing is selected; the keyboard still moves between cells. -
SINGLE_ROW
One row. -
MULTIPLE_ROWS
Any rows: Shift extends from the last row chosen, Control or Command adds and removes one, and a mouse drag selects a range. -
SINGLE_CELL
One cell, outlined, in a row that is shown selected.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-