1 #ifndef _ACCESSIBILITY_ACCESSIBLE_IDL
2 #define _ACCESSIBILITY_ACCESSIBLE_IDL
7 #if !defined(__ACCESSIBILITY_ACCESSIBLE_COMPILATION) && defined(__ORBIT_IDL__)
9 #pragma include_defs Accessible.h
14 #include "Relation.idl"
18 module Accessibility {
20 typedef sequence<Relation> RelationSet;
22 interface Accessible : Bonobo::Unknown {
25 * #attribute description: a (short) @string representing the object's name.
27 attribute string name;
30 * #attribute description: a @string describing the object in more detail than @name.
32 attribute string description;
35 * #attribute parent: an @Accessible object which is this object's containing object.
37 readonly attribute Accessible parent;
41 * return values: the number of children contained by this object (zero if none).
43 * Get the number of children contained by this object.
46 readonly attribute long childCount;
50 * @index: an in parameter indicating which child is requested (zero-indexed).
51 * return values: the 'nth' @Accessible child of this object.
53 * Get the accessible child of this object at index @index.
56 Accessible getChildAtIndex (in long index);
60 * return values: a long integer indicating this object's index in the parent's list.
62 * Get the index of this object in its parent's child list.
65 long getIndexInParent ();
69 * return values: a @RelationSet defining this object's relationships.
71 * Get a set defining this object's relationship to other accessible objects.
74 RelationSet getRelationSet ();
78 * return values: the @Role of this object.
80 * Get the @Role indicating the type of UI role played by this object.
87 * return values: a @StateSet encapsulating the currently true states of the object.
89 * Get the current state of the object as a @StateSet.
95 #if !defined(__ACCESSIBILITY_ACCESSIBLE_COMPILATION) && defined(__ORBIT_IDL__)