Package com.hp.lft.sdk.uiapro
Enum Class 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdds the object to the current selection; possible result is a noncontiguous selection.Alters the selection so that all objects between the selection anchor and this object take on the anchor object's selection state.Removes the object from the current selection; possible result is a noncontinuous selection.Sets the focus to the object and makes it the selection anchor.Selects the object and removes the selection from all other objects in the container. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Returns the integer value representing the SelectOptions value.static SelectOptions
Returns the enum constant of this class with the specified name.static SelectOptions[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
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
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
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 nameNullPointerException
- if the argument is null
-
getValue
Returns the integer value representing the SelectOptions value.- Specified by:
getValue
in interfacecom.hp.lft.sdk.internal.EnumValueProvider<Integer>
- Returns:
- the integer value representing the SelectOptions value.
-