Package at.bestsolution.uia
Enum Class ControlType
- All Implemented Interfaces:
INativeEnum,Serializable,Comparable<ControlType>,Constable
Control Type Identifiers
see https://docs.microsoft.com/en-us/windows/win32/winauto/uiauto-controltype-ids
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIdentifies the AppBar control type.Identifies the Button control type.Identifies the Calendar control type.Identifies the CheckBox control type.Identifies the ComboBox control type.Identifies the Custom control type.Identifies the DataGrid control type.Identifies the DataItem control type.Identifies the Document control type.Identifies the Edit control type.Identifies the Group control type.Identifies the Header control type.Identifies the HeaderItem control type.Identifies the Hyperlink control type.Identifies the Image control type.Identifies the List control type.Identifies the ListItem control type.Identifies the MenuBar control type.Identifies the Menu control type.Identifies the MenuItem control type.Identifies the Pane control type.Identifies the ProgressBar control type.Identifies the RadioButton control type.Identifies the ScrollBar control type.Identifies the SemanticZoom control type.Identifies the Separator control type.Identifies the Slider control type.Identifies the Spinner control type.Identifies the SplitButton control type.Identifies the StatusBar control type.Identifies the Tab control type.Identifies the TabItem control type.Identifies the Table control type.Identifies the Text control type.Identifies the Thumb control type.Identifies the TitleBar control type.Identifies the ToolBar control type.Identifies the ToolTip control type.Identifies the Tree control type.Identifies the TreeItem control type.Identifies the Window control type. -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<ControlType>fromNativeValue(int nativeValue) intstatic ControlTypeReturns the enum constant of this class with the specified name.static ControlType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UIA_ButtonControlTypeId
Identifies the Button control type. -
UIA_CalendarControlTypeId
Identifies the Calendar control type. -
UIA_CheckBoxControlTypeId
Identifies the CheckBox control type. -
UIA_ComboBoxControlTypeId
Identifies the ComboBox control type. -
UIA_EditControlTypeId
Identifies the Edit control type. -
UIA_HyperlinkControlTypeId
Identifies the Hyperlink control type. -
UIA_ImageControlTypeId
Identifies the Image control type. -
UIA_ListItemControlTypeId
Identifies the ListItem control type. -
UIA_ListControlTypeId
Identifies the List control type. -
UIA_MenuControlTypeId
Identifies the Menu control type. -
UIA_MenuBarControlTypeId
Identifies the MenuBar control type. -
UIA_MenuItemControlTypeId
Identifies the MenuItem control type. -
UIA_ProgressBarControlTypeId
Identifies the ProgressBar control type. -
UIA_RadioButtonControlTypeId
Identifies the RadioButton control type. -
UIA_ScrollBarControlTypeId
Identifies the ScrollBar control type. -
UIA_SliderControlTypeId
Identifies the Slider control type. -
UIA_SpinnerControlTypeId
Identifies the Spinner control type. -
UIA_StatusBarControlTypeId
Identifies the StatusBar control type. -
UIA_TabControlTypeId
Identifies the Tab control type. -
UIA_TabItemControlTypeId
Identifies the TabItem control type. -
UIA_TextControlTypeId
Identifies the Text control type. -
UIA_ToolBarControlTypeId
Identifies the ToolBar control type. -
UIA_ToolTipControlTypeId
Identifies the ToolTip control type. -
UIA_TreeControlTypeId
Identifies the Tree control type. -
UIA_TreeItemControlTypeId
Identifies the TreeItem control type. -
UIA_CustomControlTypeId
Identifies the Custom control type. For more information, see Custom Properties, Events, and Control Patterns. -
UIA_GroupControlTypeId
Identifies the Group control type. -
UIA_ThumbControlTypeId
Identifies the Thumb control type. -
UIA_DataGridControlTypeId
Identifies the DataGrid control type. -
UIA_DataItemControlTypeId
Identifies the DataItem control type. -
UIA_DocumentControlTypeId
Identifies the Document control type. -
UIA_SplitButtonControlTypeId
Identifies the SplitButton control type. -
UIA_WindowControlTypeId
Identifies the Window control type. -
UIA_PaneControlTypeId
Identifies the Pane control type. -
UIA_HeaderControlTypeId
Identifies the Header control type. -
UIA_HeaderItemControlTypeId
Identifies the HeaderItem control type. -
UIA_TableControlTypeId
Identifies the Table control type. -
UIA_TitleBarControlTypeId
Identifies the TitleBar control type. -
UIA_SeparatorControlTypeId
Identifies the Separator control type. -
UIA_SemanticZoomControlTypeId
Identifies the SemanticZoom control type. Supported starting with Windows 8. -
UIA_AppBarControlTypeId
Identifies the AppBar control type. Supported starting with Windows 8.1.
-
-
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
-
getNativeValue
public int getNativeValue()- Specified by:
getNativeValuein interfaceINativeEnum
-
getConstantName
- Specified by:
getConstantNamein interfaceINativeEnum
-
fromNativeValue
-