Package at.bestsolution.uia
Enum Class StructureChangeType
- All Implemented Interfaces:
INativeEnum,Serializable,Comparable<StructureChangeType>,Constable
Contains values that specify the type of change in the Microsoft UI Automation tree structure.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA child element was added to the UI Automation element tree.A child element was removed from the UI Automation element tree.Child elements were added in bulk to the UI Automation element tree.Child elements were removed in bulk from the UI Automation element tree.Child elements were invalidated in the UI Automation element tree.The order of child elements has changed in the UI Automation element tree. -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<StructureChangeType>fromNativeValue(int nativeValue) intstatic StructureChangeTypeReturns the enum constant of this class with the specified name.static StructureChangeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ChildAdded
A child element was added to the UI Automation element tree. -
ChildRemoved
A child element was removed from the UI Automation element tree. -
ChildrenInvalidated
Child elements were invalidated in the UI Automation element tree. This might mean that one or more child elements were added or removed, or a combination of both. This value can also indicate that one subtree in the UI was substituted for another. For example, the entire contents of a dialog box changed at once, or the view of a list changed because an Explorer-type application navigated to another location. The exact meaning depends on the UI Automation provider implementation. -
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. -
ChildrenReordered
The order of child elements has changed in the UI Automation element tree. Child elements may or may not have been added or removed.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNativeValue
public int getNativeValue()- Specified by:
getNativeValuein interfaceINativeEnum
-
getConstantName
- Specified by:
getConstantNamein interfaceINativeEnum
-
fromNativeValue
-