Java attributes
The following is a list of the attributes returned by the Windows spy tool in Java mode (ie. for java applications only). For a list of attributes returned by other modes, see:
Application attributes
Indicates a window is currently the active window. This includes windows, dialogs, frames, etc. In addition, this state is used to indicate the currently active child of a component such as a list, table, or tree. For example, the active child of a list is the child that is drawn with a rectangle around it.
Indicates that the element is armed. This is usually used on buttons that have been pressed but not yet released, and the mouse pointer is still over the button.
Indicates the current element is busy. This is usually used on elements such as progress bars, sliders, or scroll bars to indicate that they are in a state of transition.
Indicates this element is currently checked. This is usually used on elements such as toggle buttons, radio buttons, and check boxes, which indicate an on/off, yes/no or true/false state.
Indicates this element is collapsed. This is usually paired with the expandable and the expanded states and is used on elements that provide progressive disclosure such as trees.
Indicates the user can change the contents of this element. This is usually used primarily for elements that allow the user to enter text. Other elements, such as scroll bars and sliders, are automatically editable if they are enabled.
Indicates whether this element is enabled. An element that is not enabled cannot be manipulated by the user. In a graphical display, such an element is usually greyed out.
Indicates this element is expanded. This is usually paired with the expandable and collapsed states and is used on elements that provide progressive disclosure such as trees.
Indicates this element can accept keyboard focus. Being focusable means all events resulting from typing on the keyboard will normally be passed to it when it has focus. See also: focused.
Indicates this element currently has the keyboard focus. A focused element is the element that receives keyboard input. See also: focusable.
Indicates the orientation of this element is horizontal, as opposed to vertical. This is relevant for elements such as scrollbars and trackbars which can appear in more than one orientation.
Indicates this element is minimized and is represented only by an icon. This is usually only associated with frames and internal frames.
Indicates something must be done with this element before the user can interact with an element in a different window. This is usually associated only with dialogs.
Indicates this (text) element can contain multiple lines of text. See also SingleLine.
Indicates this element allows more than one of its children to be selected at the same time.
Indicates this element paints every pixel within its rectangular region. A non-opaque component paints only some of its pixels, allowing the pixels underneath it to "show through". A component that does not fully paint its pixels therefore provides a degree of transparency.
Indicates this element is currently pressed. This is usually associated with buttons and indicates the user has pressed a mouse button while the pointer was over the button and has not yet released the mouse button.
Indicates the size of this element is not fixed.
Indicates this element is the child of an element that allows its children to be selected, and that this child is one of those children that can be selected, if desired by the user.
Indicates this element is the child of an element which allows its children, to be selected, and that this child is one of those children that has been selected.
Indicates this element, the element's parent, the element's parent's parent, and so on, are all visible. Note that this does not necessarily mean the element is painted on the screen; it might be occluded by some other showing element.
Indicates this (text) element can contain only a single line of text. This is in contrast to multiline elements.
Indicates this element is transient. In short, this means that the element does not play a direct role in the user interface, short of assisting some other element(s) in the user interface. Transient elements are not usually useful for automation purposes, save wait queries.
Indicates that the orientation of this element is vertical, as opposed to horizontal. This is usually associated with elements such as scrollbars and trackbars which can appear in more than one orientation.