Enum Class ExpandCollapseState

java.lang.Object
java.lang.Enum<ExpandCollapseState>
com.hp.lft.sdk.uiapro.ExpandCollapseState
All Implemented Interfaces:
com.hp.lft.sdk.internal.EnumValueProvider<String>, Serializable, Comparable<ExpandCollapseState>, java.lang.constant.Constable

public enum ExpandCollapseState extends Enum<ExpandCollapseState> implements com.hp.lft.sdk.internal.EnumValueProvider<String>
The possible expand/collapse states of the object.
  • Enum Constant Details

    • Collapsed

      public static final ExpandCollapseState Collapsed
      No child nodes, controls, or content of the UI Automation element are displayed.
    • Expanded

      public static final ExpandCollapseState Expanded
      All child nodes, controls or content of the UI Automation element are displayed.
    • PartiallyExpanded

      public static final ExpandCollapseState PartiallyExpanded
      Some, but not all, child nodes, controls, or content of the UI Automation element are displayed.
    • LeafNode

      public static final ExpandCollapseState LeafNode
      The UI Automation element has no child nodes, controls, or content to display.
  • Method Details

    • values

      public static ExpandCollapseState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExpandCollapseState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Returns the String value representing the ExpandCollapseState value.
      Specified by:
      getValue in interface com.hp.lft.sdk.internal.EnumValueProvider<String>
      Returns:
      the String value representing the ExpandCollapseState value.