Package at.bestsolution.uia
Interface IUIAElement
- All Superinterfaces:
IInitable
- All Known Subinterfaces:
IUIAVirtualElement,IUIAVirtualRootElement
central interface of the openfx-uia api.
In the UIA API this interface represents several interfaces:
- IRawElementProviderSimple
- IRawElementProviderFragment
- IRawElementProviderRoot??
This adoption of the UIA api is required to wire it with javafx.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classcontext object for IUIAElement. -
Method Summary
Modifier and TypeMethodDescriptiondefault StringThe automation idThe bounds of the element, in screen spacedefault ControlTypethe controltype of the elementdefault IUIAElementdefault intgetId()the iddefault <T> TgetProvider(Class<T> providerType) default booleanisProviderAvailable(Class<?> providerType) voidSetFocus()Sets the focus to this element.default <C> voidwithContext(Class<C> contextType, Consumer<C> run) Methods inherited from interface at.bestsolution.uia.IInitable
initialize
-
Method Details
-
getId
default int getId()the id- Returns:
- the id
-
getAutomationId
The automation id- Returns:
- the automation id
-
getControlType
the controltype of the element- Returns:
- the control type
-
getBounds
Bounds getBounds()The bounds of the element, in screen spacethis method is from the IRawElementProviderFragment
- Returns:
- the elements bounds in screen space
-
SetFocus
void SetFocus()Sets the focus to this element.this method is from the IRawElementProviderFragment
-
withContext
-
isProviderAvailable
-
getProvider
-
GetFocusDelegate
-