other-licenses/ia2/AccessibleComponent.idl
Not scriptableIUnknown
Last changed in Gecko 1.9 (Firefox 3)This interface provides the standard mechanism for an assistive technology to retrieve information concerning the graphical representation of an object. Coordinates used by the functions of this interface are specified in different coordinate systems. Their scale is the same and is equal to that of the screen coordinate system. In other words all coordinates are measured in pixels. They differ in their respective origin:
[propget] HRESULT background([out] IA2Color background ); |
[propget] HRESULT foreground([out] IA2Color foreground ); |
[propget] HRESULT locationInParent([out] long x, [out] long y ); |
Returns the background
color of this object.
[propget] HRESULT background( [out] IA2Color background );
background
background
color of this object or, if that is not supported, the default background
color.S_OK.
Returns the foreground
color of this object.
[propget] HRESULT foreground( [out] IA2Color foreground );
foreground
foreground
color of this object or, if that is not supported, the default foreground
color.S_OK.
Returns the location of the upper left corner of the object's bounding box relative to the immediate parent object. The coordinates of the bounding box are given relative to the parent's coordinate system. The coordinates of the returned position are relative to this object's parent or relative to the screen on which this object is rendered if it has no parent. If the object is not on any screen the returned position is (0,0).
[propget] HRESULT locationInParent( [out] long x, [out] long y );
x
y
S_OK.