public enum Selectable extends java.lang.Enum<Selectable>
Enum Constant | Description |
---|---|
multi |
Multi selection possible.
|
multiCascade |
Multi selection possible.
|
multiLeafOnly |
Only leafs are selectable.
|
none |
Not selectable.
|
sibling |
Only siblings are selectable.
|
siblingLeafOnly |
Only siblings are selectable and they have to be leafs.
|
single |
Only one item is selectable.
|
singleLeafOnly |
Only one item is selectable and it must be a leaf.
|
singleOrNone |
Only one of no item is selectable.
|
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
MULTI |
|
static java.lang.String |
MULTI_CASCADE |
|
static java.lang.String |
MULTI_LEAF_ONLY |
|
static java.lang.String |
NONE |
|
static java.lang.String |
SIBLING |
|
static java.lang.String |
SIBLING_LEAF_ONLY |
|
static java.lang.String |
SINGLE |
|
static java.lang.String |
SINGLE_LEAF_ONLY |
|
static java.lang.String |
SINGLE_OR_NONE |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isLeafOnly() |
|
boolean |
isMulti() |
|
boolean |
isSingle() |
|
boolean |
isSupportedBySheet() |
|
boolean |
isSupportedByTree() |
|
boolean |
isSupportedByTreeListbox() |
|
static Selectable |
parse(java.lang.Object name) |
|
static Selectable |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Selectable[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Selectable none
public static final Selectable multi
public static final Selectable single
public static final Selectable singleOrNone
public static final Selectable multiLeafOnly
public static final Selectable singleLeafOnly
public static final Selectable sibling
public static final Selectable siblingLeafOnly
public static final Selectable multiCascade
public static final java.lang.String NONE
public static final java.lang.String MULTI
public static final java.lang.String SINGLE
public static final java.lang.String SINGLE_OR_NONE
public static final java.lang.String MULTI_LEAF_ONLY
public static final java.lang.String SINGLE_LEAF_ONLY
public static final java.lang.String SIBLING
public static final java.lang.String SIBLING_LEAF_ONLY
public static final java.lang.String MULTI_CASCADE
public static Selectable[] values()
for (Selectable c : Selectable.values()) System.out.println(c);
public static Selectable valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Selectable parse(java.lang.Object name) throws java.lang.IllegalArgumentException
name
- Name of the Selectablejava.lang.IllegalArgumentException
- When the name doesn't match any Selectable.public boolean isLeafOnly()
public boolean isSingle()
public boolean isMulti()
public boolean isSupportedBySheet()
public boolean isSupportedByTree()
public boolean isSupportedByTreeListbox()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.