public enum SelectionMode extends Enum<SelectionMode>
Selection mode for a table.
Enum Constant and Description |
---|
CellRange
Allow cell range selection.
|
ColumnOnly
Allow only column selection.
|
RowOnly
Allow only row selection.
|
SingleCell
Allow single cell selection.
|
Modifier and Type | Method and Description |
---|---|
static SelectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectionMode RowOnly
Allow only row selection.
public static final SelectionMode ColumnOnly
Allow only column selection.
public static final SelectionMode SingleCell
Allow single cell selection.
public static final SelectionMode CellRange
Allow cell range selection.
public static SelectionMode[] values()
for (SelectionMode c : SelectionMode.values()) System.out.println(c);
public static SelectionMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All Rights Reserved.