Enum Class StructureChangeType

java.lang.Object
java.lang.Enum<StructureChangeType>
at.bestsolution.uia.StructureChangeType
All Implemented Interfaces:
INativeEnum, Serializable, Comparable<StructureChangeType>, Constable

public enum StructureChangeType extends Enum<StructureChangeType> implements INativeEnum
Contains values that specify the type of change in the Microsoft UI Automation tree structure.
  • Enum Constant Details

    • ChildAdded

      public static final StructureChangeType ChildAdded
      A child element was added to the UI Automation element tree.
    • ChildRemoved

      public static final StructureChangeType ChildRemoved
      A child element was removed from the UI Automation element tree.
    • ChildrenInvalidated

      public static final StructureChangeType 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

      public static final StructureChangeType ChildrenBulkAdded
      Child elements were added in bulk to the UI Automation element tree.
    • ChildrenBulkRemoved

      public static final StructureChangeType ChildrenBulkRemoved
      Child elements were removed in bulk from the UI Automation element tree.
    • ChildrenReordered

      public static final StructureChangeType 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

      public static StructureChangeType[] 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

      public static StructureChangeType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNativeValue

      public int getNativeValue()
      Specified by:
      getNativeValue in interface INativeEnum
    • getConstantName

      public String getConstantName()
      Specified by:
      getConstantName in interface INativeEnum
    • fromNativeValue

      public static Optional<StructureChangeType> fromNativeValue(int nativeValue)