public interface IUIAElement extends IInitable
In the UIA API this interface represents several interfaces:
This adoption of the UIA api is required to wire it with javafx.
Modifier and Type | Interface and Description |
---|---|
static class |
IUIAElement.UIAElementContext
context object for IUIAElement.
|
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
getAutomationId()
The automation id
|
javafx.geometry.Bounds |
getBounds()
The bounds of the element, in screen space
|
default ControlType |
getControlType()
the controltype of the element
|
default int |
getId()
the id
|
default <T> T |
getProvider(java.lang.Class<T> providerType) |
default boolean |
isProviderAvailable(java.lang.Class<?> providerType) |
void |
SetFocus()
Sets the focus to this element.
|
default <C> void |
withContext(java.lang.Class<C> contextType,
java.util.function.Consumer<C> run) |
initialize
default int getId()
default java.lang.String getAutomationId()
default ControlType getControlType()
javafx.geometry.Bounds getBounds()
this method is from the IRawElementProviderFragment
void SetFocus()
this method is from the IRawElementProviderFragment
default <C> void withContext(java.lang.Class<C> contextType, java.util.function.Consumer<C> run)
default boolean isProviderAvailable(java.lang.Class<?> providerType)
default <T> T getProvider(java.lang.Class<T> providerType)