public enum ProviderOptions extends java.lang.Enum<ProviderOptions> implements INativeEnum
Enum Constant and Description |
---|
ProviderOptions_ClientSideProvider
The provider is a client-side (proxy) provider.
|
ProviderOptions_HasNativeIAccessible
The provider implements the IAccessible interface.
|
ProviderOptions_NonClientAreaProvider
The provider is a non-client-area provider.
|
ProviderOptions_OverrideProvider
The provider overrides another provider.
|
ProviderOptions_ProviderOwnsSetFocus
The provider handles its own focus, and does not want UI Automation to set focus to the nearest window on its behalf.
|
ProviderOptions_RefuseNonClientSupport
The provider handles its own non-client area and does not want UI Automation to provide default accessibility support for controls in the non-client area, such as minimize/maximize buttons and menu bars.
|
ProviderOptions_ServerSideProvider
The provider is a server-side provider.
|
ProviderOptions_UseClientCoordinates
The provider works in client coordinates instead of screen coordinates.
|
ProviderOptions_UseComThreading
The provider has explicit support for COM threading models, so that calls by UI Automation on COM-based providers are received on the appropriate thread.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<ProviderOptions> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static ProviderOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProviderOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProviderOptions ProviderOptions_ClientSideProvider
public static final ProviderOptions ProviderOptions_ServerSideProvider
public static final ProviderOptions ProviderOptions_NonClientAreaProvider
public static final ProviderOptions ProviderOptions_OverrideProvider
public static final ProviderOptions ProviderOptions_ProviderOwnsSetFocus
public static final ProviderOptions ProviderOptions_UseComThreading
public static final ProviderOptions ProviderOptions_RefuseNonClientSupport
public static final ProviderOptions ProviderOptions_HasNativeIAccessible
public static final ProviderOptions ProviderOptions_UseClientCoordinates
public static ProviderOptions[] values()
for (ProviderOptions c : ProviderOptions.values()) System.out.println(c);
public static ProviderOptions valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<ProviderOptions> fromNativeValue(int nativeValue)