1 #ifndef _SPI_ROLETYPES_H_
2 #define _SPI_ROLETYPES_H_
6 * Enumerated type for AccessibleRole
13 /* Object is used to alert the user about something */
15 /* Object that can be drawn into and is used to trap events */
18 * A choice that can be checked or unchecked and provides a separate
19 * indicator for the current state.
22 /* A specialized dialog that lets the user choose a color. */
23 SPI_ROLE_COLOR_CHOOSER,
24 /* The header for a column of data */
25 SPI_ROLE_COLUMN_HEADER,
26 /* A list of choices the user can select from */
28 /* An inconifed internal frame within a SPI_DESKTOP_PANE */
29 SPI_ROLE_SPI_DESKTOP_ICON,
31 * A pane that supports internal frames and iconified versions of those
34 SPI_ROLE_SPI_DESKTOP_FRAME,
35 /* A top level window with title bar and a border */
38 * A pane that allows the user to navigate through and select the contents
41 SPI_ROLE_DIRECTORY_PANE,
43 * A specialized dialog that displays the files in the directory and lets
44 * the user select a file, browse a different directory, or specify a
47 SPI_ROLE_FILE_CHOOSER,
49 * A object that fills up space in a user interface
52 /* XXX Don't know sure about this. */
53 SPI_ROLE_FOCUS_TRAVERSABLE,
54 /* A top level window with a title bar, border, menubar, etc. */
56 /* A pane that is guaranteed to be painted on top of all panes beneath it */
59 * A document container for HTML, whose children
60 * represent the document content.
62 SPI_ROLE_HTML_CONTAINER,
63 /* A small fixed size picture, typically used to decorate components */
65 /* A frame-like object that is clipped by a desktop pane. */
66 SPI_ROLE_INTERNAL_FRAME,
67 /* An object used to present an icon or short string in an interface */
70 * A specialized pane that allows its children to be drawn in layers,
71 * providing a form of stacking order.
73 SPI_ROLE_LAYERED_PANE,
75 * An object that presents a list of objects to the user and allows the
76 * user to select one or more of them.
79 /* An object that represents an element of a list. */
82 * An object usually found inside a menu bar that contains a list of
83 * actions the user can choose from.
87 * An object usually drawn at the top of the primary dialog box of an
88 * application that contains a list of menus the user can choose from.
92 * An object usually contained in a menu that presents an action the
96 /* A specialized pane whose primary use is inside a DIALOG */
98 /* An object that is a child of a page tab list */
101 * An object that presents a series of panels (or page tabs), one at a time,
102 * through some mechanism provided by the object.
104 SPI_ROLE_PAGE_TAB_LIST,
105 /* A generic container that is often used to group objects. */
108 * A text object uses for passwords, or other places where the text
109 * content is not shown visibly to the user.
111 SPI_ROLE_PASSWORD_TEXT,
113 * A temporary window that is usually used to offer the user a list of
114 * choices, and then hides when the user selects one of those choices.
117 /* An object used to indicate how much of a task has been completed. */
118 SPI_ROLE_PROGRESS_BAR,
120 * An object the user can manipulate to tell the application to do
123 SPI_ROLE_PUSH_BUTTON,
125 * A specialized check box that will cause other radio buttons in the
126 * same group to become uncghecked when this one is checked.
128 SPI_ROLE_RADIO_BUTTON,
130 * A specialized pane that has a glass pane and a layered pane as its
134 /* The header for a row of data */
137 * An object usually used to allow a user to incrementally view a large
142 * An object that allows a user to incrementally view a large amount
145 SPI_ROLE_SCROLL_PANE,
147 * An object usually contained in a menu to provide a visible and
148 * logical separation of the contents in a menu.
151 /* An object that allows the user to select from a bounded range */
153 /* A specialized panel that presents two other panels at the same time. */
155 /* An object used to rpesent information in terms of rows and columns. */
158 SPI_ROLE_TABLE_COLUMN_HEADER,
159 SPI_ROLE_TABLE_ROW_HEADER,
160 /* An object that presents text to the user */
163 * A specialized push button that can be checked or unchecked, but does
164 * not procide a separate indicator for the current state.
166 SPI_ROLE_TOGGLE_BUTTON,
168 * A bar or palette usually composed of push buttons or toggle buttons
172 * An object that provides information about another object
175 /* An object used to repsent hierarchical information to the user. */
178 * The object contains some SpiAccessible information, but its role is
182 /* An object usually used in a scroll pane. */
184 /* A top level window with no title or border */
186 /* not a valid role, used for finding end of enumeration. */
187 SPI_ROLE_LAST_DEFINED