Enum Class SelectOptions

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

public enum SelectOptions extends Enum<SelectOptions> implements com.hp.lft.sdk.internal.EnumValueProvider<Integer>
The possible operations when clicking on a selectable object.
  • Enum Constant Details

    • TakeFocus

      public static final SelectOptions TakeFocus
      Sets the focus to the object and makes it the selection anchor. Used by itself, this flag does not alter the selection. The effect is similar to moving the focus manually by pressing an ARROW key while holding down the CTRL key in Windows Explorer or in any multiple-selection list box.
    • TakeSelection

      public static final SelectOptions TakeSelection
      Selects the object and removes the selection from all other objects in the container. Unless it is combined with TakeFocus , this flag does not change the focus or the selection anchor. The TakeSelection TakeFocus combination is equivalent to single - clicking an item in Windows Explorer.
    • ExtendSelection

      public static final SelectOptions ExtendSelection
      Alters the selection so that all objects between the selection anchor and this object take on the anchor object's selection state. If the anchor object is not selected, the objects are removed from the selection. If the anchor object is selected, the selection is extended to include this object and all the objects in between. Set the selection state by combining this flag with AddSelection or RemoveSelection Unless it is combined with TakeFocus , this flag does not change the focus or the selection anchor. The ExtendSelection | TakeFocus combination is equivalent to adding an item to a selection manually by holding down the SHIFT key and clicking an unselected object in Windows Explorer. This flag is not combined with TakeSelection .
    • AddSelection

      public static final SelectOptions AddSelection
      Adds the object to the current selection; possible result is a noncontiguous selection. Unless it is combined with TakeFocus , this flag does not change the focus or the selection anchor. The AddSelection | TakeFocus combination is equivalent to adding an item to a selection manually by holding down the CTRL key and clicking an unselected object in Windows Explorer. This flag is not combined with RemoveSelection or TakeSelection
    • RemoveSelection

      public static final SelectOptions RemoveSelection
      Removes the object from the current selection; possible result is a noncontinuous selection. Unless it is combined with TakeFocus , this flag does not change the focus or the selection anchor. The RemoveSelection | TakeFocus combination is equivalent to removing an item from a selection manually, by holding down the CTRL key while clicking a selected object in Windows Explorer. This flag is not combined with AddSelection or TakeSelection
  • Method Details

    • values

      public static SelectOptions[] 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 SelectOptions 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 Integer getValue()
      Returns the integer value representing the SelectOptions value.
      Specified by:
      getValue in interface com.hp.lft.sdk.internal.EnumValueProvider<Integer>
      Returns:
      the integer value representing the SelectOptions value.