source: trunk/third/at-spi/idl/Accessibility_Role.idl @ 18422

Revision 18422, 7.9 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18421, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * AT-SPI - Assistive Technology Service Provider Interface
3 * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
4 *
5 * Copyright 2001 Sun Microsystems Inc.
6 *
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.
11 *
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.
16 *
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.
21 */
22
23#ifndef _ACCESSIBILITY_ROLE_IDL
24#define _ACCESSIBILITY_ROLE_IDL
25
26module Accessibility {
27
28  enum Role {
29  ROLE_INVALID,
30  /* Object is a label indicating the keyboard accelerators for the parent  */
31  ROLE_ACCELERATOR_LABEL,
32  /* Object is used to alert the user about something */
33  ROLE_ALERT,
34  /* Object contains a dynamic or moving image of some kind */
35  ROLE_ANIMATION,
36  /* Object is a 2d directional indicator */
37  ROLE_ARROW,
38  /* Object contains one or more dates, usually arranged into a 2d list */
39  ROLE_CALENDAR,
40  /* Object that can be drawn into and is used to trap events */
41  ROLE_CANVAS,
42  /*
43   * A choice that can be checked or unchecked and provides a separate
44   * indicator for the current state.
45   */
46  ROLE_CHECK_BOX,
47  /* A menu item that behaves like a check box (see ROLE_CHECK_BOX) */
48  ROLE_CHECK_MENU_ITEM,
49  /* A specialized dialog that lets the user choose a color. */
50  ROLE_COLOR_CHOOSER,
51  /* The header for a column of data */
52  ROLE_COLUMN_HEADER,
53  /* A list of choices the user can select from */
54  ROLE_COMBO_BOX,
55  /* An object which allows entry of a date */
56  ROLE_DATE_EDITOR,
57  /* An inconifed internal frame within a DESKTOP_PANE */
58  ROLE_DESKTOP_ICON,
59  /*
60   * A pane that supports internal frames and iconified versions of those
61   * internal frames.
62   */
63  ROLE_DESKTOP_FRAME,
64  /*
65   * An object that allows a value to be changed via rotating a visual element,
66   * or which displays a value via such a rotating element.
67   */
68  ROLE_DIAL,
69  /* A top level window with title bar and a border */
70  ROLE_DIALOG,
71  /*
72   * A pane that allows the user to navigate through and select the contents
73   * of a directory
74   */
75  ROLE_DIRECTORY_PANE,
76  /*
77   * A specialized dialog that displays the files in the directory and lets
78   * the user select a file, browse a different directory, or specify a
79   * filename.
80   */
81  ROLE_DRAWING_AREA,
82  /*
83   * An object used for drawing custom user interface elements.
84   */
85  ROLE_FILE_CHOOSER,
86  /*
87   * A object that fills up space in a user interface
88   */
89  ROLE_FILLER,
90  /* XXX Don't know sure about this. */
91  ROLE_FOCUS_TRAVERSABLE,
92  /* Allows selection of a display font */
93  ROLE_FONT_CHOOSER,
94  /* A top level window with a title bar, border, menubar, etc. */
95  ROLE_FRAME,
96  /* A pane that is guaranteed to be painted on top of all panes beneath it */
97  ROLE_GLASS_PANE,
98  /*
99   * A document container for HTML, whose children
100   * represent the document content.
101   */
102  ROLE_HTML_CONTAINER,
103  /* A small fixed size picture, typically used to decorate components */
104  ROLE_ICON,
105  /* An image, typically static. */
106  ROLE_IMAGE,
107  /* A frame-like object that is clipped by a desktop pane. */
108  ROLE_INTERNAL_FRAME,
109  /* An object used to present an icon or short string in an interface */
110  ROLE_LABEL,
111  /*
112   * A specialized pane that allows its children to be drawn in layers,
113   * providing a form of stacking order.
114   */
115  ROLE_LAYERED_PANE,
116  /*
117   * An object that presents a list of objects to the user and allows the
118   * user to select one or more of them.
119   */
120  ROLE_LIST,
121   /* An object that represents an element of a list. */
122  ROLE_LIST_ITEM,
123  /*
124   * An object usually found inside a menu bar that contains a list of
125   * actions the user can choose from.
126   */
127  ROLE_MENU,
128  /*
129   * An object usually drawn at the top of the primary dialog box of an
130   * application that contains a list of menus the user can choose from.
131   */
132  ROLE_MENU_BAR,
133  /*
134   * An object usually contained in a menu that presents an action the
135   * user can choose.
136   */
137  ROLE_MENU_ITEM,
138  /* A specialized pane whose primary use is inside a DIALOG */
139  ROLE_OPTION_PANE,
140  /* An object that is a child of a page tab list */
141  ROLE_PAGE_TAB,
142  /*
143   * An object that presents a series of panels (or page tabs), one at a time,
144   * through some mechanism provided by the object.
145   */
146  ROLE_PAGE_TAB_LIST,
147  /* A generic container that is often used to group objects. */
148  ROLE_PANEL,
149  /*
150   * A text object uses for passwords, or other places where the text
151   * content is not shown visibly to the user.
152   */
153  ROLE_PASSWORD_TEXT,
154  /*
155   * A temporary window that is usually used to offer the user a list of
156   * choices, and then hides when the user selects one of those choices.
157   */
158  ROLE_POPUP_MENU,
159  /* An object used to indicate how much of a task has been completed. */
160  ROLE_PROGRESS_BAR,
161  /*
162   * An object the user can manipulate to tell the application to do
163   * something.
164   */
165  ROLE_PUSH_BUTTON,
166  /*
167   * A specialized check box that will cause other radio buttons in the
168   * same group to become uncghecked when this one is checked.
169   */
170  ROLE_RADIO_BUTTON,
171  /* Object is both a menu item and a "radio button" (see ROLE_RADIO_BUTTON) */
172  ROLE_RADIO_MENU_ITEM,
173  /*
174   * A specialized pane that has a glass pane and a layered pane as its
175   * children.
176   */
177  ROLE_ROOT_PANE,
178  /* The header for a row of data */
179  ROLE_ROW_HEADER,
180  /*
181   * An object usually used to allow a user to incrementally view a large
182   * amount of data.
183   */
184  ROLE_SCROLL_BAR,
185  /*
186   * An object that allows a user to incrementally view a large amount
187   * of information.
188   */
189  ROLE_SCROLL_PANE,
190  /*
191   * An object usually contained in a menu to provide a visible and
192   * logical separation of the contents in a menu.
193   */
194  ROLE_SEPARATOR,
195  /* An object that allows the user to select from a bounded range */
196  ROLE_SLIDER,
197  /*
198   * An object which allows one of a set of choices to be selected,
199   * and which displays the current choice.
200   */
201  ROLE_SPIN_BUTTON,
202  /* A specialized panel that presents two other panels at the same time. */
203  ROLE_SPLIT_PANE,
204  /* Object displays non-quantitative status information (c.f. ROLE_PROGRESS_BAR) */
205  ROLE_STATUS_BAR,
206  /* An object used to repesent information in terms of rows and columns. */
207  ROLE_TABLE,
208  ROLE_TABLE_CELL,
209  ROLE_TABLE_COLUMN_HEADER,
210  ROLE_TABLE_ROW_HEADER,
211  /* Object allows menu to be removed from menubar and shown in its own window. */
212  ROLE_TEAROFF_MENU_ITEM,
213  /* An object that emulates a terminal */
214  ROLE_TERMINAL,
215  /* An object that presents text to the user */
216  ROLE_TEXT,
217  /*
218   * A specialized push button that can be checked or unchecked, but does
219   * not procide a separate indicator for the current state.
220   */
221  ROLE_TOGGLE_BUTTON,
222  /*
223   * A bar or palette usually composed of push buttons or toggle buttons
224   */
225  ROLE_TOOL_BAR,
226  /*
227   * An object that provides information about another object
228   */
229  ROLE_TOOL_TIP,
230  /* An object used to repsent hierarchical information to the user. */
231  ROLE_TREE,
232  /* An object that presents both tabular and hierarchical info to the user */
233  ROLE_TREE_TABLE,
234  /*
235   * The object contains some Accessible information, but its role is
236   * not known.
237   */
238  ROLE_UNKNOWN,
239  /* An object usually used in a scroll pane. */
240  ROLE_VIEWPORT,
241  /* A top level window with no title or border */
242  ROLE_WINDOW,
243  /*
244   * means that the role for this item is known, but not included in the
245   * core enumeration
246   */
247  ROLE_EXTENDED,
248  /* not a valid role, used for finding end of enumeration. */
249  ROLE_LAST_DEFINED
250  };
251};
252
253#endif
Note: See TracBrowser for help on using the repository browser.