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