AWTComponentIndex property to obtain the index of a Java application’s object. The property is only used if the object meets the following requirements:
- The object belongs to a Java application that was created with AWT or Swing libraries.
- The object is a descendant of the
Objects of AWT and Swing Java applications are addressed with
SwingObject methods. These methods can address an object by its name, or by class name, accessible name and index. The index is used if the parent object contains several child objects that have the same class and accessible names. In other words, the
AWTComponentIndex property value is equal to the Index parameter of these methods.
|A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
All Java application objects.
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The integer value that specifies the index .
AWTComponentIndex property is only available if the Java Application Support plugin is installed and the application under test is a Java application created with AWT or Swing libraries. Otherwise, this property is absent in the object’s property list.