public enum StructureChangeType extends java.lang.Enum<StructureChangeType> implements INativeEnum
Enum Constant and Description |
---|
ChildAdded
A child element was added to the UI Automation element tree.
|
ChildRemoved
A child element was removed from the UI Automation element tree.
|
ChildrenBulkAdded
Child elements were added in bulk to the UI Automation element tree.
|
ChildrenBulkRemoved
Child elements were removed in bulk from the UI Automation element tree.
|
ChildrenInvalidated
Child elements were invalidated in the UI Automation element tree.
|
ChildrenReordered
The order of child elements has changed in the UI Automation element tree.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<StructureChangeType> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static StructureChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StructureChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructureChangeType ChildAdded
public static final StructureChangeType ChildRemoved
public static final StructureChangeType ChildrenInvalidated
public static final StructureChangeType ChildrenBulkAdded
public static final StructureChangeType ChildrenBulkRemoved
public static final StructureChangeType ChildrenReordered
public static StructureChangeType[] values()
for (StructureChangeType c : StructureChangeType.values()) System.out.println(c);
public static StructureChangeType 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<StructureChangeType> fromNativeValue(int nativeValue)