Enum Class ControlType

java.lang.Object
java.lang.Enum<ControlType>
at.bestsolution.uia.ControlType
All Implemented Interfaces:
INativeEnum, Serializable, Comparable<ControlType>, Constable

public enum ControlType extends Enum<ControlType> implements INativeEnum
Control Type Identifiers see https://docs.microsoft.com/en-us/windows/win32/winauto/uiauto-controltype-ids
  • Enum Constant Details

    • UIA_ButtonControlTypeId

      public static final ControlType UIA_ButtonControlTypeId
      Identifies the Button control type.
    • UIA_CalendarControlTypeId

      public static final ControlType UIA_CalendarControlTypeId
      Identifies the Calendar control type.
    • UIA_CheckBoxControlTypeId

      public static final ControlType UIA_CheckBoxControlTypeId
      Identifies the CheckBox control type.
    • UIA_ComboBoxControlTypeId

      public static final ControlType UIA_ComboBoxControlTypeId
      Identifies the ComboBox control type.
    • UIA_EditControlTypeId

      public static final ControlType UIA_EditControlTypeId
      Identifies the Edit control type.
    • UIA_HyperlinkControlTypeId

      public static final ControlType UIA_HyperlinkControlTypeId
      Identifies the Hyperlink control type.
    • UIA_ImageControlTypeId

      public static final ControlType UIA_ImageControlTypeId
      Identifies the Image control type.
    • UIA_ListItemControlTypeId

      public static final ControlType UIA_ListItemControlTypeId
      Identifies the ListItem control type.
    • UIA_ListControlTypeId

      public static final ControlType UIA_ListControlTypeId
      Identifies the List control type.
    • UIA_MenuControlTypeId

      public static final ControlType UIA_MenuControlTypeId
      Identifies the Menu control type.
    • UIA_MenuBarControlTypeId

      public static final ControlType UIA_MenuBarControlTypeId
      Identifies the MenuBar control type.
    • UIA_MenuItemControlTypeId

      public static final ControlType UIA_MenuItemControlTypeId
      Identifies the MenuItem control type.
    • UIA_ProgressBarControlTypeId

      public static final ControlType UIA_ProgressBarControlTypeId
      Identifies the ProgressBar control type.
    • UIA_RadioButtonControlTypeId

      public static final ControlType UIA_RadioButtonControlTypeId
      Identifies the RadioButton control type.
    • UIA_ScrollBarControlTypeId

      public static final ControlType UIA_ScrollBarControlTypeId
      Identifies the ScrollBar control type.
    • UIA_SliderControlTypeId

      public static final ControlType UIA_SliderControlTypeId
      Identifies the Slider control type.
    • UIA_SpinnerControlTypeId

      public static final ControlType UIA_SpinnerControlTypeId
      Identifies the Spinner control type.
    • UIA_StatusBarControlTypeId

      public static final ControlType UIA_StatusBarControlTypeId
      Identifies the StatusBar control type.
    • UIA_TabControlTypeId

      public static final ControlType UIA_TabControlTypeId
      Identifies the Tab control type.
    • UIA_TabItemControlTypeId

      public static final ControlType UIA_TabItemControlTypeId
      Identifies the TabItem control type.
    • UIA_TextControlTypeId

      public static final ControlType UIA_TextControlTypeId
      Identifies the Text control type.
    • UIA_ToolBarControlTypeId

      public static final ControlType UIA_ToolBarControlTypeId
      Identifies the ToolBar control type.
    • UIA_ToolTipControlTypeId

      public static final ControlType UIA_ToolTipControlTypeId
      Identifies the ToolTip control type.
    • UIA_TreeControlTypeId

      public static final ControlType UIA_TreeControlTypeId
      Identifies the Tree control type.
    • UIA_TreeItemControlTypeId

      public static final ControlType UIA_TreeItemControlTypeId
      Identifies the TreeItem control type.
    • UIA_CustomControlTypeId

      public static final ControlType UIA_CustomControlTypeId
      Identifies the Custom control type. For more information, see Custom Properties, Events, and Control Patterns.
    • UIA_GroupControlTypeId

      public static final ControlType UIA_GroupControlTypeId
      Identifies the Group control type.
    • UIA_ThumbControlTypeId

      public static final ControlType UIA_ThumbControlTypeId
      Identifies the Thumb control type.
    • UIA_DataGridControlTypeId

      public static final ControlType UIA_DataGridControlTypeId
      Identifies the DataGrid control type.
    • UIA_DataItemControlTypeId

      public static final ControlType UIA_DataItemControlTypeId
      Identifies the DataItem control type.
    • UIA_DocumentControlTypeId

      public static final ControlType UIA_DocumentControlTypeId
      Identifies the Document control type.
    • UIA_SplitButtonControlTypeId

      public static final ControlType UIA_SplitButtonControlTypeId
      Identifies the SplitButton control type.
    • UIA_WindowControlTypeId

      public static final ControlType UIA_WindowControlTypeId
      Identifies the Window control type.
    • UIA_PaneControlTypeId

      public static final ControlType UIA_PaneControlTypeId
      Identifies the Pane control type.
    • UIA_HeaderControlTypeId

      public static final ControlType UIA_HeaderControlTypeId
      Identifies the Header control type.
    • UIA_HeaderItemControlTypeId

      public static final ControlType UIA_HeaderItemControlTypeId
      Identifies the HeaderItem control type.
    • UIA_TableControlTypeId

      public static final ControlType UIA_TableControlTypeId
      Identifies the Table control type.
    • UIA_TitleBarControlTypeId

      public static final ControlType UIA_TitleBarControlTypeId
      Identifies the TitleBar control type.
    • UIA_SeparatorControlTypeId

      public static final ControlType UIA_SeparatorControlTypeId
      Identifies the Separator control type.
    • UIA_SemanticZoomControlTypeId

      public static final ControlType UIA_SemanticZoomControlTypeId
      Identifies the SemanticZoom control type. Supported starting with Windows 8.
    • UIA_AppBarControlTypeId

      public static final ControlType UIA_AppBarControlTypeId
      Identifies the AppBar control type. Supported starting with Windows 8.1.
  • Method Details

    • values

      public static ControlType[] 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 ControlType 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
    • getNativeValue

      public int getNativeValue()
      Specified by:
      getNativeValue in interface INativeEnum
    • getConstantName

      public String getConstantName()
      Specified by:
      getConstantName in interface INativeEnum
    • fromNativeValue

      public static Optional<ControlType> fromNativeValue(int nativeValue)