2 * AT-SPI - Assistive Technology Service Provider Interface
3 * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
5 * Copyright 2001 Sun Microsystems Inc.
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
23 #ifndef _ACCESSIBILITY_STATE_IDL
24 #define _ACCESSIBILITY_STATE_IDL
26 module Accessibility {
30 /* Indicates a window is currently the active window */
32 /* Indicates that the object is armed */
34 /* Indicates the current object is busy */
36 /* Indicates this object is currently checked */
38 /* Indicates this object is collapsed */
40 /* Indicates the user can change the contents of this object */
42 /* Indicates this object allows progressive disclosure of its children */
44 /* Indicates this object its expanded */
47 * Indicates this object can accept keyboard focus, which means all
48 * events resulting from typing on the keyboard will normally be passed
49 * to it when it has focus
52 /* Indicates this object currently has the keyboard focus */
54 /* Indicates that the object has an associated tooltip */
56 /* Indicates the orientation of thsi object is horizontal */
58 /* Indicates this object is minimized and is represented only by an icon */
61 * Indicates something must be done with this object before the user can
62 * interact with an object in a different window.
65 /* Indicates this (text) object can contain multiple lines of text */
68 * Indicates this object allows more than one of its children to be
69 * selected at the same time
71 STATE_MULTISELECTABLE,
72 /* Indicates this object paints every pixel within its rectangular region. */
74 /* Indicates this object is currently pressed */
76 /* Indicates the size of this object is not fixed */
79 * Indicates this object is the child of an object that allows its
80 * children to be selected and that this child is one of those children
81 * that can be selected.
85 * Indicates this object is the child of an object that allows its
86 * children to be selected and that this child is one of those children
87 * that has been selected.
90 /* Indicates this object is sensitive */
93 * Indicates this object, the object's parent, the object's parent's
94 * parent, and so on, are all visible
97 /* Indicates this (text) object can contain only a single line of text */
99 /* Indicates this object is transient */
101 /* Indicates the orientation of this object is vertical */
103 /* Indicates this object is visible */
109 boolean contains (in StateType state);
110 void add (in StateType state);
111 void remove (in StateType state);
112 boolean equals (in StateSet stateSet);
113 void compare (in StateSet compareState, out StateSet differenceSet);