public enum TreeViewerCreationPolicy extends java.lang.Enum<TreeViewerCreationPolicy>
Enum Constant and Description |
---|
CREATE_COMPLETE
Creates the complete tree on initialization.
|
CREATE_ON_EXPAND
Creates child nodes only for expanded parent nodes.
|
CREATE_ON_EXPAND_DISPOSE_ON_COLLAPSE
Creates child nodes only for expanded parent nodes.
|
Modifier and Type | Method and Description |
---|---|
static TreeViewerCreationPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeViewerCreationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeViewerCreationPolicy CREATE_COMPLETE
public static final TreeViewerCreationPolicy CREATE_ON_EXPAND
public static final TreeViewerCreationPolicy CREATE_ON_EXPAND_DISPOSE_ON_COLLAPSE
public static TreeViewerCreationPolicy[] values()
for (TreeViewerCreationPolicy c : TreeViewerCreationPolicy.values()) System.out.println(c);
public static TreeViewerCreationPolicy 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 nullSiehe auch Jowidgets Nutzerhandbuch