public enum ExpandCollapseState extends Enum<ExpandCollapseState>
Enum Constant and Description |
---|
COLLAPSED
No children are visible.
|
EXPANDED
All children are visible.
|
LEAF_NODE
The element does not expand or collapse.
|
PARTIALLY_EXPANDED
Some, but not all, children are visible.
|
Modifier and Type | Method and Description |
---|---|
static ExpandCollapseState |
getEnum(String value) |
static ExpandCollapseState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpandCollapseState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpandCollapseState COLLAPSED
public static final ExpandCollapseState EXPANDED
public static final ExpandCollapseState PARTIALLY_EXPANDED
public static final ExpandCollapseState LEAF_NODE
public static ExpandCollapseState[] values()
for (ExpandCollapseState c : ExpandCollapseState.values()) System.out.println(c);
public static ExpandCollapseState 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 ExpandCollapseState getEnum(String value)
Copyright © 2021. All rights reserved.