Package FlaNium.WinAPI.elements.enums
Enum ExpandCollapseState
- java.lang.Object
-
- java.lang.Enum<ExpandCollapseState>
-
- FlaNium.WinAPI.elements.enums.ExpandCollapseState
-
- All Implemented Interfaces:
Serializable,Comparable<ExpandCollapseState>
public enum ExpandCollapseState extends Enum<ExpandCollapseState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLAPSEDNo children are visible.EXPANDEDAll children are visible.LEAF_NODEThe element does not expand or collapse.PARTIALLY_EXPANDEDSome, but not all, children are visible.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExpandCollapseStategetEnum(String value)static ExpandCollapseStatevalueOf(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.
-
-
-
Enum Constant Detail
-
COLLAPSED
public static final ExpandCollapseState COLLAPSED
No children are visible.
-
EXPANDED
public static final ExpandCollapseState EXPANDED
All children are visible.
-
PARTIALLY_EXPANDED
public static final ExpandCollapseState PARTIALLY_EXPANDED
Some, but not all, children are visible.
-
LEAF_NODE
public static final ExpandCollapseState LEAF_NODE
The element does not expand or collapse.
-
-
Method Detail
-
values
public static ExpandCollapseState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExpandCollapseState c : ExpandCollapseState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExpandCollapseState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getEnum
public static ExpandCollapseState getEnum(String value)
-
-