IAccessibleComponent Interface Reference

This interface is implemented by any object that can be rendered on the screen. More...

import "AccessibleComponent.idl";

List of all members.


Public Member Functions

HRESULT locationInParent ([out] long *x,[out, retval] long *y)
 Returns the location of the upper left corner of the object's bounding box relative to the immediate parent object.
HRESULT foreground ([out, retval] IA2Color *foreground)
 Returns the foreground color of this object.
HRESULT background ([out, retval] IA2Color *background)
 Returns the background color of this object.

Detailed Description

This interface is implemented by any object that can be rendered on the screen.

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:


Member Function Documentation

HRESULT IAccessibleComponent::background ( [out, retval] IA2Color background  )  [get]

Returns the background color of this object.

Parameters:
[out] background The returned color is the background color of this object or, if that is not supported, the default background color.
Return values:
S_OK 

HRESULT IAccessibleComponent::foreground ( [out, retval] IA2Color foreground  )  [get]

Returns the foreground color of this object.

Parameters:
[out] foreground The returned color is the foreground color of this object or, if that is not supported, the default foreground color.
Return values:
S_OK 

HRESULT IAccessibleComponent::locationInParent ( [out] long *  x,
[out, retval] long *  y 
) [get]

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).

Parameters:
[out] x 
[out] y 
Return values:
S_OK 


The documentation for this interface was generated from the following file:

To submit feedback on IAccessible2 API Version 1.2.1, please use the Bugzilla interface located at: http://bugs.linuxfoundation.org/. When using Bugzilla please be sure to select IAccessible2 from the list of components. Bugzilla is the preferred method for receiving feedback because it automatically logs one's feedback in the IAccessible2 tracking system without additional human intervention. One may also, however, send email to accessibility-rfc@a11y.org, a publicly archived emailing list. Please address any technical problems you encounter with this document or the resources to which it links, to the Open A11y Webmaster <webmaster@a11y.org>

A stable online reference version of the documentation for IAccessible2 API Version 1.2.1, is available at: http://a11y.org/ia2-spec. A list of known and reported errors in the documentation for IAccessible2 API Version 1.2.1 can be found at: http://a11y.org/ia2-errata


Generated on Fri Jan 21 14:02:45 2011 for IAccessible2 API Version 1.2.1 by  doxygen 1.5.6