import "Accessibility_Component.idl";
Public Member Functions | |
| boolean | contains (in long x, in long y, in short coord_type) |
| Accessible | getAccessibleAtPoint (in long x, in long y, in short coord_type) |
| BoundingBox | getExtents (in short coord_type) |
| Obtain the Component's bounding box, in pixels, relative to the specified coordinate system. | |
| void | getPosition (out long x, out long y, in short coord_type) |
Obtain the position of the current component in the coordinate system specified by coord_type. | |
| void | getSize (out long width, out long height) |
Obtain the size, in the coordinate system specified by coord_type, of the rectangular area which fully contains the object's visual representation, without accounting for viewport clipping. | |
| ComponentLayer | getLayer () |
| short | getMDIZOrder () |
| Obtain the relative stacking order (i.e. | |
| boolean | grabFocus () |
| Request that the object obtain keyboard focus. | |
| void | registerFocusHandler (in EventListener handler) |
| Register an EventListener for notification when this object receives keyboard focus. | |
| void | deregisterFocusHandler (in EventListener handler) |
| Request that an EventListener registered via registerFocusHandler no longer be notified when this object receives keyboard focus. | |
| double | getAlpha () |
| Obtain the alpha value of the component. | |
objects which have onscreen visual representations. The methods in Component allow clients to identify where the objects lie in the onscreen coordinate system, their relative size, stacking order, and position. It also provides a mechanism whereby keyboard focus may be transferred to specific user interface elements programmatically. This is a 2D API, coordinates of 3D objects are projected into the 2-dimensional screen view for purposes of this interface.
short coord_type parameter used by some Component methods is as follows: Events emitted by Component instances include:
"object:bounds-changed" "object:visible-data-changed"
Definition at line 83 of file Accessibility_Component.idl.
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Obtain the Component's bounding box, in pixels, relative to the specified coordinate system.
|
|
||||||||||||||||
|
Obtain the position of the current component in the coordinate system specified by
|
|
||||||||||||
|
Obtain the size, in the coordinate system specified by
|
|
|
|
|
|
Obtain the relative stacking order (i.e. 'Z' order) of an object. Larger values indicate that an object is on "top" of the stack, therefore objects with smaller MDIZOrder may be obscured by objects with a larger MDIZOrder, but not vice-versa.
|
|
|
Request that the object obtain keyboard focus.
|
|
|
Register an EventListener for notification when this object receives keyboard focus.
|
|
|
Request that an EventListener registered via registerFocusHandler no longer be notified when this object receives keyboard focus.
|
|
|
Obtain the alpha value of the component. An alpha value of 1.0 or greater indicates that the object is fully opaque, and an alpha value of 0.0 indicates that the object is fully transparent. Negative alpha values have no defined meaning at this time.
|
1.4.3