public enum TreeSelectable extends Enum<TreeSelectable>
Enum Constant and Description |
---|
MULTI |
MULTI_LEAF_ONLY |
MULTI_SUB_TREE |
OFF |
SIBLING |
SIBLING_LEAF_ONLY |
SINGLE |
SINGLE_LEAF_ONLY |
SINGLE_SUB_TREE |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
boolean |
isSupportedByTree() |
boolean |
isSupportedByTreeListbox() |
static TreeSelectable |
parse(String name) |
static TreeSelectable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TreeSelectable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeSelectable OFF
public static final TreeSelectable MULTI
public static final TreeSelectable SINGLE
public static final TreeSelectable MULTI_LEAF_ONLY
public static final TreeSelectable SINGLE_LEAF_ONLY
public static final TreeSelectable SIBLING
public static final TreeSelectable SIBLING_LEAF_ONLY
public static final TreeSelectable MULTI_SUB_TREE
public static final TreeSelectable SINGLE_SUB_TREE
public static TreeSelectable[] values()
for (TreeSelectable c : TreeSelectable.values()) System.out.println(c);
public static TreeSelectable 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 String getValue()
public static TreeSelectable parse(String name) throws IllegalArgumentException
name
- Name of the TreeSelectableIllegalArgumentException
- When the name doesn't match any TreeSelectable.public boolean isSupportedByTree()
public boolean isSupportedByTreeListbox()
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.