public enum TreeSelectionMode extends Enum<TreeSelectionMode>
Enum Constant and Description |
---|
MULTIPLE_ITEM
可选择多个项目
|
MULTIPLE_NODE
可选择多个节点
|
SINGLE_ITEM
只能选择一个项目
|
SINGLE_NODE
只能选择一个节点
|
Modifier and Type | Method and Description |
---|---|
static TreeSelectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TreeSelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeSelectionMode SINGLE_NODE
public static final TreeSelectionMode MULTIPLE_NODE
public static final TreeSelectionMode SINGLE_ITEM
public static final TreeSelectionMode MULTIPLE_ITEM
public static TreeSelectionMode[] values()
for (TreeSelectionMode c : TreeSelectionMode.values()) System.out.println(c);
public static TreeSelectionMode 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 nullCopyright 2009-2012 Micro Focus. All Rights Reserved.