Package com.hp.lft.sdk.uiapro
Enum Class ToggleState
- All Implemented Interfaces:
- com.hp.lft.sdk.internal.EnumValueProvider<String>,- Serializable,- Comparable<ToggleState>,- java.lang.constant.Constable
public enum ToggleState
extends Enum<ToggleState>
implements com.hp.lft.sdk.internal.EnumValueProvider<String>
The possible states of a toggleable object.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe UI Automation element is in an indeterminate state.The UIA Pro element is not selected, checked, marked, or otherwise activated.The UIA Pro element is selected, checked, marked, or otherwise activated.
- 
Method SummaryModifier and TypeMethodDescriptiongetValue()Returns the String value representing the ToggleState value.static ToggleStateReturns the enum constant of this class with the specified name.static ToggleState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
OffThe UIA Pro element is not selected, checked, marked, or otherwise activated.
- 
OnThe UIA Pro element is selected, checked, marked, or otherwise activated.
- 
IndeterminateThe UI Automation element is in an indeterminate state. Can be used to indicate whether the user has acted on a control. For example, a checkbox can appear checked and dimmed, indicating an indeterminate state. Creating an indeterminate state is different from disabling the control. Consequently, a checkbox in the indeterminate state can still receive the focus. When the user clicks an indeterminate control, the ToggleState cycles to its next value.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
getValueReturns the String value representing the ToggleState value.- Specified by:
- getValuein interface- com.hp.lft.sdk.internal.EnumValueProvider<String>
- Returns:
- the String value representing the ToggleState value.
 
 
-