import "Accessibility_Collection.idl";
Public Types | |
| enum | SortOrder { SORT_ORDER_INVALID, SORT_ORDER_CANONICAL, SORT_ORDER_FLOW, SORT_ORDER_TAB, SORT_ORDER_REVERSE_CANONICAL, SORT_ORDER_REVERSE_FLOW, SORT_ORDER_REVERSE_TAB, SORT_ORDER_LAST_DEFINED } |
| Order in which an AccessibleSet should be returned. More... | |
| enum | MatchType { MATCH_INVALID, MATCH_ALL, MATCH_ANY, MATCH_NONE, MATCH_EMPTY, MATCH_LAST_DEFINED } |
| Enumeration used to specify how attribute matching is done in Collection::getChildren. More... | |
Public Member Functions | |
| boolean | isAncestorOf (in Accessible object) |
| Query whether an object is a descendant of another in the accessibility hierarchy. | |
| MatchRule | createMatchRule (in StateSet states, in MatchType statematchtype, in AttributeSet attributes, in MatchType attributematchtype, in RoleSet roles, in MatchType rolematchtype, in string interfaces, in MatchType interfacematchtype, in boolean invert) |
| Create a MatchRule for the purposes of doing a getChildren query on a container. | |
| void | freeMatchRule (in MatchRule rule) |
| Frees the resources associated with the specified MatchRule. | |
| AccessibleSet | getChildren (in MatchRule rule, in SortOrder sortby, in boolean recurse, inOut long count) |
| Query a Collection for objects within it which match a certain set of criteria. | |
| AccessibleSet | getPreviousChildren (in Accessible current_object, in MatchRule rule, in SortOrder sortby, in boolean recurse, inout long count) |
| Find a list of the previous elements in a collection which match a particular search criterion, relative to a subelement of the specified container. | |
| AccessibleSet | getNextChildren (in Accessible current_object, in MatchRule rule, in SortOrder sortby, in boolean recurse, inout long count) |
| Find a list of the next elements in a collection which match a particular search criterion. | |
| Accessible | getActiveDescendant () |
| Query an object for the current 'active descendant', i.e. | |
This interface can be used to avoid iteration or client-side search of the object tree.
Collection is an interface which is particularly useful within large containers, for instance Table instances, and for complex documents. For that reason, implementors of Document are encouraged to implement Collection as well.
Because the Collection API is recursive, in general only a few elements in the accessibility hierarchy need implement it, for instance Document containers, Table instances, and toplevel windows.
"collection:reordered" The hierarchy or other ordering information relevant to a Collection instance has changed, potentially invalidating the ordering of any AccessibleSet lists obtained from the Collection.
Definition at line 63 of file Accessibility_Collection.idl.
|
|
Order in which an AccessibleSet should be returned.
Definition at line 66 of file Accessibility_Collection.idl. |
|
|
Enumeration used to specify how attribute matching is done in Collection::getChildren.
Definition at line 95 of file Accessibility_Collection.idl. |
|
|
Query whether an object is a descendant of another in the accessibility hierarchy.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Create a MatchRule for the purposes of doing a getChildren query on a container. The resulting MatchRule should be freed by the caller when it is no longer needed, via freeMatchRule. If any of the following params are empty or NULL: states, attributes, roles, interfaces, then any value for the corresponding parameter in a queried child will constitute a match, unless the following MatchType is MATCH_EMPTY. For example, createMatchRule (NULL, MATCH_ANY, NULL, MATCH_ANY, NULL, MATCH_ANY, "", MATCH_ANY, FALSE); createMatchRule (NULL, MATCH_ANY, NULL, MATCH_EMPTY, NULL, MATCH_ANY, "", MATCH_ANY, FALSE);
|
|
|
Frees the resources associated with the specified MatchRule. The Matchrule should not be re-used by the client after freeing. |
|
||||||||||||||||||||
|
Query a Collection for objects within it which match a certain set of criteria.
Any criteria which are
|
|
||||||||||||||||||||||||
|
Find a list of the previous elements in a collection which match a particular search criterion, relative to a subelement of the specified container.
|
|
||||||||||||||||||||||||
|
Find a list of the next elements in a collection which match a particular search criterion.
|
|
|
Query an object for the current 'active descendant', i.e. the descendant currently having STATE_ACTIVE and reacting to keyboard events. If the object being queried doesn't have state MANAGES_DESCENDANTS, this method will return NIL.
|
1.4.3