public static enum TableModel.SelectionModel extends Enum<TableModel.SelectionModel> implements Property<Enum<TableModel.SelectionModel>>
| Enum Constant and Description |
|---|
MULTI_SELECT
Selection of several rows is possible
|
NO_SELECT
No row selection is possible.
|
SINGLE_SELECT
At most one row can be selected
|
| Modifier and Type | Field and Description |
|---|---|
static TableModel.SelectionModel |
DEFAULT
The default selection model which is SINGLE_SELECT
|
| Modifier and Type | Method and Description |
|---|---|
Enum<TableModel.SelectionModel> |
getDefaultValue()
Get the default value of the property.
|
String |
toString() |
static TableModel.SelectionModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableModel.SelectionModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableModel.SelectionModel NO_SELECT
public static final TableModel.SelectionModel SINGLE_SELECT
public static final TableModel.SelectionModel MULTI_SELECT
public static final TableModel.SelectionModel DEFAULT
public static TableModel.SelectionModel[] values()
for (TableModel.SelectionModel c : TableModel.SelectionModel.values()) System.out.println(c);
public static TableModel.SelectionModel 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 nullpublic Enum<TableModel.SelectionModel> getDefaultValue()
Propertynull.getDefaultValue in interface Property<Enum<TableModel.SelectionModel>>null if no default
exist.public String toString()
toString in class Enum<TableModel.SelectionModel>Copyright © 2006–2017 Esito AS. All rights reserved.