public enum Selectable extends Enum<Selectable>
Enum Constant and 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 and Description |
---|---|
static Selectable |
MULTI
Deprecated.
|
static Selectable |
MULTI_CASCADE
Deprecated.
|
static Selectable |
MULTI_LEAF_ONLY
Deprecated.
|
static Selectable |
NONE
Deprecated.
|
static Set<Selectable> |
SHEET_VALUES |
static Selectable |
SIBLING
Deprecated.
|
static Selectable |
SIBLING_LEAF_ONLY
Deprecated.
|
static Selectable |
SINGLE
Deprecated.
|
static Selectable |
SINGLE_LEAF_ONLY
Deprecated.
|
static Selectable |
SINGLE_OR_NONE
Deprecated.
|
static String |
STRING_MULTI |
static String |
STRING_MULTI_CASCADE |
static String |
STRING_MULTI_LEAF_ONLY |
static String |
STRING_NONE |
static String |
STRING_SIBLING |
static String |
STRING_SIBLING_LEAF_ONLY |
static String |
STRING_SINGLE |
static String |
STRING_SINGLE_LEAF_ONLY |
static String |
STRING_SINGLE_OR_NONE |
static Set<Selectable> |
TREE_LISTBOX_VALUES |
static Set<Selectable> |
TREE_VALUES |
Modifier and Type | Method and Description |
---|---|
boolean |
isLeafOnly() |
boolean |
isMulti() |
boolean |
isSingle() |
boolean |
isSupportedBySheet() |
boolean |
isSupportedByTree() |
boolean |
isSupportedByTreeListbox() |
static Selectable |
parse(Object name) |
static Selectable |
valueOf(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
@Deprecated public static final Selectable NONE
@Deprecated public static final Selectable MULTI
@Deprecated public static final Selectable SINGLE
@Deprecated public static final Selectable SINGLE_OR_NONE
@Deprecated public static final Selectable MULTI_LEAF_ONLY
@Deprecated public static final Selectable SINGLE_LEAF_ONLY
@Deprecated public static final Selectable SIBLING
@Deprecated public static final Selectable SIBLING_LEAF_ONLY
@Deprecated public static final Selectable MULTI_CASCADE
public static final String STRING_NONE
public static final String STRING_MULTI
public static final String STRING_SINGLE
public static final String STRING_SINGLE_OR_NONE
public static final String STRING_MULTI_LEAF_ONLY
public static final String STRING_SINGLE_LEAF_ONLY
public static final String STRING_SIBLING
public static final String STRING_SIBLING_LEAF_ONLY
public static final String STRING_MULTI_CASCADE
public static final Set<Selectable> SHEET_VALUES
public static final Set<Selectable> TREE_VALUES
public static final Set<Selectable> TREE_LISTBOX_VALUES
public static Selectable[] values()
for (Selectable c : Selectable.values()) System.out.println(c);
public static Selectable 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 static Selectable parse(Object name) throws IllegalArgumentException
name
- Name of the SelectableIllegalArgumentException
- 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–2016 The Apache Software Foundation. All rights reserved.