AccessibleComponent Interface

Name

AccessibleComponent Interface -- 

Synopsis



enum        AccessibleCoordType;
enum        AccessibleComponentLayer;
void        AccessibleComponent_ref         (AccessibleComponent *obj);
void        AccessibleComponent_unref       (AccessibleComponent *obj);
SPIBoolean  AccessibleComponent_contains    (AccessibleComponent *obj,
                                             long int x,
                                             long int y,
                                             AccessibleCoordType ctype);
Accessible* AccessibleComponent_getAccessibleAtPoint
                                            (AccessibleComponent *obj,
                                             long int x,
                                             long int y,
                                             AccessibleCoordType ctype);
void        AccessibleComponent_getExtents  (AccessibleComponent *obj,
                                             long int *x,
                                             long int *y,
                                             long int *width,
                                             long int *height,
                                             AccessibleCoordType ctype);
void        AccessibleComponent_getPosition (AccessibleComponent *obj,
                                             long int *x,
                                             long int *y,
                                             AccessibleCoordType ctype);
void        AccessibleComponent_getSize     (AccessibleComponent *obj,
                                             long int *width,
                                             long int *height);
AccessibleComponentLayer AccessibleComponent_getLayer
                                            (AccessibleComponent *obj);
short       AccessibleComponent_getMDIZOrder
                                            (AccessibleComponent *obj);
SPIBoolean  AccessibleComponent_grabFocus   (AccessibleComponent *obj);

Description

Details

enum AccessibleCoordType

typedef enum {
  SPI_COORD_TYPE_SCREEN,
  SPI_COORD_TYPE_WINDOW
} AccessibleCoordType;


enum AccessibleComponentLayer

typedef enum {
    SPI_LAYER_INVALID,
    SPI_LAYER_BACKGROUND,
    SPI_LAYER_CANVAS,
    SPI_LAYER_WIDGET,
    SPI_LAYER_MDI,
    SPI_LAYER_POPUP,
    SPI_LAYER_OVERLAY,
    SPI_LAYER_LAST_DEFINED	
} AccessibleComponentLayer;


AccessibleComponent_ref ()

void        AccessibleComponent_ref         (AccessibleComponent *obj);

Increment the reference count for an AccessibleComponent.


AccessibleComponent_unref ()

void        AccessibleComponent_unref       (AccessibleComponent *obj);

Decrement the reference count for an AccessibleComponent.


AccessibleComponent_contains ()

SPIBoolean  AccessibleComponent_contains    (AccessibleComponent *obj,
                                             long int x,
                                             long int y,
                                             AccessibleCoordType ctype);

Query whether a given AccessibleComponent contains a particular point.


AccessibleComponent_getAccessibleAtPoint ()

Accessible* AccessibleComponent_getAccessibleAtPoint
                                            (AccessibleComponent *obj,
                                             long int x,
                                             long int y,
                                             AccessibleCoordType ctype);

Get the accessible child at a given coordinate within an AccessibleComponent.


AccessibleComponent_getExtents ()

void        AccessibleComponent_getExtents  (AccessibleComponent *obj,
                                             long int *x,
                                             long int *y,
                                             long int *width,
                                             long int *height,
                                             AccessibleCoordType ctype);

Get the bounding box of the specified AccessibleComponent.


AccessibleComponent_getPosition ()

void        AccessibleComponent_getPosition (AccessibleComponent *obj,
                                             long int *x,
                                             long int *y,
                                             AccessibleCoordType ctype);

Get the minimum x and y coordinates of the specified AccessibleComponent.


AccessibleComponent_getSize ()

void        AccessibleComponent_getSize     (AccessibleComponent *obj,
                                             long int *width,
                                             long int *height);

Get the size of the specified AccessibleComponent.


AccessibleComponent_getLayer ()

AccessibleComponentLayer AccessibleComponent_getLayer
                                            (AccessibleComponent *obj);

Query which layer the component is painted into, to help determine its visibility in terms of stacking order.


AccessibleComponent_getMDIZOrder ()

short       AccessibleComponent_getMDIZOrder
                                            (AccessibleComponent *obj);

Query the z stacking order of a component which is in the MDI layer. (Bigger z-order numbers mean nearer the top)


AccessibleComponent_grabFocus ()

SPIBoolean  AccessibleComponent_grabFocus   (AccessibleComponent *obj);

Attempt to set the keyboard input focus to the specified AccessibleComponent.