typedef sequence<Accessible> Accessibility::AccessibleSet |
typedef sequence<string> Accessibility::AttributeSet |
A list of name-value pairs, returned as a sequence of strings; the name and value are separated by a colon.
Accessibility_Accessible__get_name
(obj, &ev); Name-value pairs associated with Accessible instances are not normally redundant with these IDL attributes, i.e. there is no "accessible-name" attribute in the AttributeSet returned from Accessible::getAttributes().Where possible, the names and values in the name-value pairs should be chosen from well-established attribute namespaces using standard semantics. For example, metadata namespace and values should be chosen from the 'Dublin Core' Metadata namespace using Dublin Core semantics: http://dublincore.org/dcregistry/ Similarly, relevant structural metadata should be exposed using attribute names and values chosen from the CSS2 and WICD specification: http://www.w3.org/TR/1998/REC-CSS2-19980512 WICD (http://www.w3.org/TR/2005/WD-WICD-20051121/).
Finally, note that typographic, semantic, and presentational annotations which are associated with text content, in particular which are associated with particular text ranges, should be exposed via Accessibility::Text::getAttributeRun instead of via these more general 'Object attributes'.
typedef sequence<Command> Accessibility::CommandList |
A list of Command objects
typedef unsigned long Accessibility::ControllerEventMask |
an unsigned short int consisting of zero or more of the following values OR'ed together:
1<<KEY_PRESSED_EVENT
= 1 1<<KEY_RELEASED_EVENT
= 2 1<<BUTTON_PRESSED_EVENT
= 3, 1<<BUTTON_RELEASED_EVENT
= 4 typedef sequence<Desktop> Accessibility::DesktopSeq |
typedef sequence< EventType > Accessibility::EventTypeSeq |
typedef sequence< EventType > Accessibility::KeyEventTypeSeq |
typedef sequence< KeyDefinition > Accessibility::KeySet |
typedef sequence<long> Accessibility::LongSeq |
typedef sequence<Relation> Accessibility::RelationSet |
A list of Relations, which may be many-to-many.
typedef sequence<Role> Accessibility::RoleSet |
A list of accessible roles
typedef sequence<StateType> Accessibility::StateSeq |
typedef sequence<string> Accessibility::StringSeq |
The ComponentLayer of a Component instance indicates its relative stacking order with respect to the onscreen visual representation of the UI. ComponentLayer, in combination with Component bounds information, can be used to compute the visibility of all or part of a component. This is important in programmatic determination of region-of-interest for magnification, and in ¨flat screen review¨ models of the screen, as well as for other uses. Objects residing in two of the ComponentLayer categories support further z-ordering information, with respect to their peers in the same layer: namely, LAYER_WINDOW and LAYER_MDI. Relative stacking order for other objects within the same layer is not available; the recommended heuristic is ¨first child paints first¨, in other words, assume that the first siblings in the child list are subject to being overpainted by later siblings if their bounds intersect.
The order of layers, from bottom to top, is:
LAYER_INVALID |
Indicates an error condition or uninitialized value. |
LAYER_BACKGROUND |
The bottom-most layer, over which everything else is painted. The 'desktop background' is generally in this layer. |
LAYER_CANVAS |
The 'background' layer for most content renderers and UI Component containers. |
LAYER_WIDGET |
The layer in which the majority of ordinary 'foreground' widgets reside. |
LAYER_MDI |
A special layer between LAYER_CANVAS and LAYER_WIDGET, in which the 'pseudo windows' (e.g. the MDI frames) reside.
|
LAYER_POPUP |
A layer for popup window content, above LAYER_WIDGET. |
LAYER_OVERLAY |
The topmost layer. |
LAYER_WINDOW |
The layer in which a toplevel window background usually resides. |
LAYER_LAST_DEFINED |
Used only to determine the end of the enumeration. |
Used to specify the event types of interest to an EventListener, or to identify the type of an event for which notification has been sent.
Used when synthesizing keyboard input via DeviceEventController:generateKeyboardEvent.
KEY_PRESS | |
KEY_RELEASE |
emulate the pressing of a hardware keyboard key. |
KEY_PRESSRELEASE |
emulate the release of a hardware keyboard key. |
KEY_SYM |
a hardware keyboard key is pressed and immediately released. |
KEY_STRING |
a symbolic key event is generated, without specifying a hardware key.
|
RelationType specifies a relationship between objects (possibly one-to-many or many-to-one) outside of the normal parent/child hierarchical relationship. It allows better semantic identification of how objects are associated with one another. For instance the RELATION_LABELLED_BY relationship may be used to identify labelling information that should accompany the accessibleName property when presenting an object's content or identity to the end user. Similarly, RELATION_CONTROLLER_FOR can be used to further specify the context in which a valuator is useful, and/or the other UI components which are directly effected by user interactions with the valuator. Common examples include association of scrollbars with the viewport or panel which they control.
enum Accessibility::Role |
ROLE_INVALID |
A Role indicating an error condition, such as uninitialized Role data. |
ROLE_ACCELERATOR_LABEL |
Object is a label indicating the keyboard accelerators for the parent |
ROLE_ALERT |
Object is used to alert the user about something |
ROLE_ANIMATION |
Object contains a dynamic or moving image of some kind |
ROLE_ARROW |
Object is a 2d directional indicator |
ROLE_CALENDAR |
Object contains one or more dates, usually arranged into a 2d list |
ROLE_CANVAS |
Object that can be drawn into and is used to trap events |
ROLE_CHECK_BOX |
A choice that can be checked or unchecked and provides a separate indicator for the current state. |
ROLE_CHECK_MENU_ITEM |
A menu item that behaves like a check box (see ROLE_CHECK_BOX) |
ROLE_COLOR_CHOOSER |
A specialized dialog that lets the user choose a color. |
ROLE_COLUMN_HEADER |
The header for a column of data |
ROLE_COMBO_BOX |
A list of choices the user can select from |
ROLE_DATE_EDITOR |
An object which allows entry of a date |
ROLE_DESKTOP_ICON |
An inconifed internal frame within a DESKTOP_PANE |
ROLE_DESKTOP_FRAME |
A pane that supports internal frames and iconified versions of those internal frames. |
ROLE_DIAL |
An object that allows a value to be changed via rotating a visual element, or which displays a value via such a rotating element. |
ROLE_DIALOG |
A top level window with title bar and a border |
ROLE_DIRECTORY_PANE |
A pane that allows the user to navigate through and select the contents of a directory |
ROLE_DRAWING_AREA |
A specialized dialog that displays the files in the directory and lets the user select a file, browse a different directory, or specify a filename. |
ROLE_FILE_CHOOSER |
An object used for drawing custom user interface elements. |
ROLE_FILLER |
A object that fills up space in a user interface |
ROLE_FOCUS_TRAVERSABLE |
XXX Don't use, reserved for future use. |
ROLE_FONT_CHOOSER |
Allows selection of a display font |
ROLE_FRAME |
A top level window with a title bar, border, menubar, etc. |
ROLE_GLASS_PANE |
A pane that is guaranteed to be painted on top of all panes beneath it |
ROLE_HTML_CONTAINER |
A document container for HTML, whose children represent the document content. |
ROLE_ICON |
A small fixed size picture, typically used to decorate components |
ROLE_IMAGE |
An image, typically static. |
ROLE_INTERNAL_FRAME |
A frame-like object that is clipped by a desktop pane. |
ROLE_LABEL |
An object used to present an icon or short string in an interface |
ROLE_LAYERED_PANE |
A specialized pane that allows its children to be drawn in layers, providing a form of stacking order. |
ROLE_LIST |
An object that presents a list of objects to the user and allows the user to select one or more of them. |
ROLE_LIST_ITEM |
An object that represents an element of a list. |
ROLE_MENU |
An object usually found inside a menu bar that contains a list of actions the user can choose from. |
ROLE_MENU_BAR |
An object usually drawn at the top of the primary dialog box of an application that contains a list of menus the user can choose from. |
ROLE_MENU_ITEM |
An object usually contained in a menu that presents an action the user can choose. |
ROLE_OPTION_PANE |
A specialized pane whose primary use is inside a DIALOG |
ROLE_PAGE_TAB |
An object that is a child of a page tab list |
ROLE_PAGE_TAB_LIST |
An object that presents a series of panels (or page tabs), one at a time, through some mechanism provided by the object. |
ROLE_PANEL |
A generic container that is often used to group objects. |
ROLE_PASSWORD_TEXT |
A text object uses for passwords, or other places where the text content is not shown visibly to the user. |
ROLE_POPUP_MENU |
A temporary window that is usually used to offer the user a list of choices, and then hides when the user selects one of those choices. |
ROLE_PROGRESS_BAR |
An object used to indicate how much of a task has been completed. |
ROLE_PUSH_BUTTON |
An object the user can manipulate to tell the application to do something. |
ROLE_RADIO_BUTTON |
A specialized check box that will cause other radio buttons in the same group to become uncghecked when this one is checked. |
ROLE_RADIO_MENU_ITEM |
Object is both a menu item and a "radio button" (see ROLE_RADIO_BUTTON) |
ROLE_ROOT_PANE |
A specialized pane that has a glass pane and a layered pane as its children. |
ROLE_ROW_HEADER |
The header for a row of data |
ROLE_SCROLL_BAR |
An object usually used to allow a user to incrementally view a large amount of data by moving the bounds of a viewport along a one-dimensional axis. |
ROLE_SCROLL_PANE |
An object that allows a user to incrementally view a large amount of information. ROLE_SCROLL_PANE objects are usually accompanied by ROLE_SCROLL_BAR controllers, on which the RELATION_CONTROLLER_FOR and RELATION_CONTROLLED_BY reciprocal relations are set;
|
ROLE_SEPARATOR |
An object usually contained in a menu to provide a visible and logical separation of the contents in a menu. |
ROLE_SLIDER |
An object that allows the user to select from a bounded range |
ROLE_SPIN_BUTTON |
An object which allows one of a set of choices to be selected, and which displays the current choice. Unlike ROLE_SCROLL_BAR, ROLE_SLIDER objects need not control 'viewport'-like objects. |
ROLE_SPLIT_PANE |
A specialized panel that presents two other panels at the same time. |
ROLE_STATUS_BAR |
Object displays non-quantitative status information (c.f. ROLE_PROGRESS_BAR) |
ROLE_TABLE |
An object used to repesent information in terms of rows and columns. |
ROLE_TABLE_CELL |
A 'cell' or discrete child within a Table.
|
ROLE_TABLE_COLUMN_HEADER |
An object which labels a particular column in a Table. |
ROLE_TABLE_ROW_HEADER |
An object which labels a particular row in a Table. Table rows and columns may also be labelled via the RELATION_LABEL_FOR/RELATION_LABELLED_BY relationships;
|
ROLE_TEAROFF_MENU_ITEM |
Object allows menu to be removed from menubar and shown in its own window. |
ROLE_TERMINAL |
An object that emulates a terminal |
ROLE_TEXT |
An object that presents text to the user, of nonspecific type. |
ROLE_TOGGLE_BUTTON |
A specialized push button that can be checked or unchecked, but does not procide a separate indicator for the current state. |
ROLE_TOOL_BAR |
A bar or palette usually composed of push buttons or toggle buttons |
ROLE_TOOL_TIP |
An object that provides information about another object |
ROLE_TREE |
An object used to repsent hierarchical information to the user. |
ROLE_TREE_TABLE |
An object that presents both tabular and hierarchical info to the user |
ROLE_UNKNOWN |
The object contains some Accessible information, but its role is not known. |
ROLE_VIEWPORT |
An object usually used in a scroll pane, or to otherwise clip a larger object or content renderer to a specific onscreen viewport. |
ROLE_WINDOW |
A ¨top level window¨ with no title or border. |
ROLE_EXTENDED |
means that the role for this item is known, but not included in the core enumeration |
ROLE_HEADER |
An object that serves as a document header. |
ROLE_FOOTER |
An object that serves as a document footer. |
ROLE_PARAGRAPH |
An object which is contains a single paragraph of text content.
|
ROLE_RULER |
An object which describes margins and tab stops, etc. for text objects which it controls (should have CONTROLLER_FOR relation to such). |
ROLE_APPLICATION |
An object corresponding to the toplevel accessible of an application, which may contain ROLE_FRAME objects or other accessible objects. Children of AccessibleDesktop objects are generally ROLE_APPLICATION objects. |
ROLE_AUTOCOMPLETE |
The object is a dialog or list containing items for insertion into an entry widget, for instance a list of words for completion of a text entry. |
ROLE_EDITBAR |
The object is an editable text object in a toolbar. |
ROLE_EMBEDDED |
The object is an embedded component container. This role is a "grouping" hint that the contained objects share a context which is different from the container in which this accessible is embedded. In particular, it is used for some kinds of document embedding, and for embedding of out-of-process component, "panel applets", etc. |
ROLE_ENTRY |
The object is a component whose textual content may be entered or modified by the user, provided STATE_EDITABLE is present.
|
ROLE_CHART |
The object is a graphical depiction of quantitative data. It may contain multiple subelements whose attributes and/or description may be queried to obtain both the quantitative data and information about how the data is being presented. The LABELLED_BY relation is particularly important in interpreting objects of this type, as is the accessible-description property.
|
ROLE_CAPTION |
The object contains descriptive information, usually textual, about another user interface element such as a table, chart, or image.
|
ROLE_DOCUMENT_FRAME |
The object is a visual frame or container which contains a view of document content. Document frames may occur within another Document instance, in which case the second document may be said to be embedded in the containing instance. HTML frames are often ROLE_DOCUMENT_FRAME. Either this object, or a singleton descendant, should implement the Document interface.
|
ROLE_HEADING |
The object serves as a heading for content which follows it in a document. The 'heading level' of the heading, if availabe, may be obtained by querying the object's attributes.
|
ROLE_PAGE |
The object is a containing instance which encapsulates a page of information. ROLE_PAGE is used in documents and content which support a paginated navigation model.
|
ROLE_SECTION |
The object is a containing instance of document content which constitutes a particular 'logical' section of the document. The type of content within a section, and the nature of the section division itself, may be obtained by querying the object's attributes. Sections may be nested.
|
ROLE_REDUNDANT_OBJECT |
The object is redundant with another object in the hierarchy, and is exposed for purely technical reasons. Objects of this role should be ignored by clients, if they are encountered at all.
|
ROLE_FORM |
The object is a containing instance of document content which has within it components with which the user can interact in order to input information; i.e. the object is a container for pushbuttons, comboboxes, text input fields, and other 'GUI' components. ROLE_FORM should not, in general, be used for toplevel GUI containers or dialogs, but should be reserved for 'GUI' containers which occur within document content, for instance within Web documents, presentations, or text documents. Unlike other GUI containers and dialogs which occur inside application instances, ROLE_FORM containers' components are associated with the current document, rather than the current foreground application or viewer instance.
|
ROLE_LINK |
The object is a hypertext anchor, i.e. a "link" in a hypertext document. Such objects are distinct from 'inline' content which may also use the Hypertext/Hyperlink interfaces to indicate the range/location within a text object where an inline or embedded object lies.
|
ROLE_INPUT_METHOD_WINDOW |
The object is a window or similar viewport which is used to allow composition or input of a 'complex character', in other words it is an "input method window."
|
ROLE_LAST_DEFINED |
not a valid role, used for finding end of enumeration. |
STATE_INVALID | |
STATE_ACTIVE |
Indicates a window is currently the active window, or is an active subelement within a container or table |
STATE_ARMED |
Indicates that the object is armed |
STATE_BUSY |
Indicates the current object is busy, i.e. onscreen representation is in the process of changing, or the object is temporarily unavailable for interaction due to activity already in progress. |
STATE_CHECKED |
Indicates this object is currently checked |
STATE_COLLAPSED |
Indicates this object is collapsed |
STATE_DEFUNCT |
Indicates that this object no longer has a valid backing widget (for instance, if its peer object has been destroyed) |
STATE_EDITABLE |
Indicates the user can change the contents of this object |
STATE_ENABLED |
Indicates that this object is enabled, i.e. that it currently reflects some application state. Objects that are "greyed out" may lack this state, and may lack the STATE_SENSITIVE if direct user interaction cannot cause them to acquire STATE_ENABLED.
|
STATE_EXPANDABLE |
Indicates this object allows progressive disclosure of its children |
STATE_EXPANDED |
Indicates this object its expanded |
STATE_FOCUSABLE |
Indicates this object can accept keyboard focus, which means all events resulting from typing on the keyboard will normally be passed to it when it has focus |
STATE_FOCUSED |
Indicates this object currently has the keyboard focus |
STATE_HAS_TOOLTIP |
Indicates that the object has an associated tooltip |
STATE_HORIZONTAL |
Indicates the orientation of thsi object is horizontal |
STATE_ICONIFIED |
Indicates this object is minimized and is represented only by an icon |
STATE_MODAL |
Indicates something must be done with this object before the user can interact with an object in a different window. |
STATE_MULTI_LINE |
Indicates this (text) object can contain multiple lines of text |
STATE_MULTISELECTABLE |
Indicates this object allows more than one of its children to be selected at the same time, or in the case of text objects, that the object supports non-contiguous text selections. |
STATE_OPAQUE |
Indicates this object paints every pixel within its rectangular region. It also indicates an alpha value of unity, if it supports alpha blending. |
STATE_PRESSED |
Indicates this object is currently pressed |
STATE_RESIZABLE |
Indicates the size of this object's size is not fixed |
STATE_SELECTABLE |
Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that can be selected. |
STATE_SELECTED |
Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that has been selected. |
STATE_SENSITIVE |
Indicates this object is sensitive, e.g. to user interaction. STATE_SENSITIVE usually accompanies STATE_ENABLED for user-actionable controls, but may be found in the absence of STATE_ENABLED if the current visible state of the control is "disconnected" from the application state. In such cases, direct user interaction can often result in the object gaining STATE_SENSITIVE, for instance if a user makes an explicit selection using an object whose current state is ambiguous or undefined.
|
STATE_SHOWING |
Indicates this object, the object's parent, the object's parent's parent, and so on, are all 'shown' to the end-user, i.e. subject to "exposure" if blocking or obscuring objects do not interpose between this object and the top of the window stack. |
STATE_SINGLE_LINE |
Indicates this (text) object can contain only a single line of text |
STATE_STALE |
Indicates that the information returned for this object may no longer be synchronized with the application state. This can occur if the object has STATE_TRANSIENT, and can also occur towards the end of the object peer's lifecycle. |
STATE_TRANSIENT |
Indicates this object is transient |
STATE_VERTICAL |
Indicates the orientation of this object is vertical; for example this state may appear on such objects as scrollbars, text objects (with vertical text flow), separators, etc. |
STATE_VISIBLE |
Indicates this object is visible, e.g. has been explicitly marked for exposure to the user.
|
STATE_MANAGES_DESCENDANTS |
Indicates that "active-descendant-changed" event is sent when children become 'active' (i.e. are selected or navigated to onscreen). Used to prevent need to enumerate all children in very large containers, like tables. The presence of STATE_MANAGES_DESCENDANTS is an indication to the client. that the children should not, and need not, be enumerated by the client. Objects implementing this state are expected to provide relevant state notifications to listening clients, for instance notifications of visibility changes and activation of their contained child objects, without the client having previously requested references to those children. |
STATE_INDETERMINATE |
Indicates that a check box or other boolean indicator is in a state other than checked or not checked. This usually means that the boolean value reflected or controlled by the object does not apply consistently to the entire current context. For example, a checkbox for the "Bold" attribute of text may have STATE_INDETERMINATE if the currently selected text contains a mixture of weight attributes. In many cases interacting with a STATE_INDETERMINATE object will cause the context's corresponding boolean attribute to be homogenized, whereupon the object will lose STATE_INDETERMINATE and a corresponding state-changed event will be fired. |
STATE_REQUIRED |
Indicates that user interaction with this object is 'required' from the user, for instance before completing the processing of a form. |
STATE_TRUNCATED |
Indicates that an object's onscreen content is truncated, e.g. a text value in a spreadsheet cell.
|
STATE_ANIMATED |
Indicates this object's visual representation is dynamic, not static. This state may be applied to an object during an animated 'effect' and be removed from the object once its visual representation becomes static.
|
STATE_INVALID_ENTRY |
This object has indicated an error condition due to failure of input validation. For instance, a form control may acquire this state in response to invalid or malformed user input.
|
STATE_SUPPORTS_AUTOCOMPLETION |
This state indicates that the object in question implements some form of ¨typeahead¨ or pre-selection behavior whereby entering the first character of one or more sub-elements causes those elements to scroll into view or become selected. Subsequent character input may narrow the selection further as long as one or more sub-elements match the string. This state is normally only useful and encountered on objects that implement Selection. In some cases the typeahead behavior may result in full or partial ¨completion¨ of the data in the input field, in which case these input events may trigger text-changed events from the source.
|
STATE_SELECTABLE_TEXT |
This state indicates that the object in question supports text selection. It should only be exposed on objects which implement the Text interface, in order to distinguish this state from STATE_SELECTABLE, which infers that the object in question is a selectable child of an object which implements Selection. While similar, text selection and subelement selection are distinct operations.
|
STATE_IS_DEFAULT |
This state indicates that the object in question is the 'default' interaction object in a dialog, i.e. the one that gets activated if the user presses "Enter" when the dialog is initially posted.
|
STATE_VISITED |
This state indicates that the object (typically a hyperlink) has already been activated or invoked, with the result that some backing data has been downloaded or rendered.
|
STATE_LAST_DEFINED |
This value of the enumeration should not be used as a parameter, it indicates the number of items in the StateType enumeration. |
Specifies the boundary conditions determining a run of text as returned from getTextAtOffset, getTextAfterOffset, and getTextBeforeOffset.
TEXT_BOUNDARY_CHAR |
Text is bounded by this character only. Start and end offsets differ by one, by definition, for this value. |
TEXT_BOUNDARY_WORD_START |
Boundary condition is start of a word; i.e. range is from start of one word to the start of another word. |
TEXT_BOUNDARY_WORD_END |
Boundary condition is the end of a word; i.e. range is from the end of one word to the end of another.
|
TEXT_BOUNDARY_SENTENCE_START |
Boundary condition is start of a sentence, as determined by the application.
|
TEXT_BOUNDARY_SENTENCE_END |
Boundary condition is end of a sentence, as determined by the application, including the sentence-delimiting character, for instance '.'
|
TEXT_BOUNDARY_LINE_START |
Boundary condition is the start of a line; i.e. range is from start of one line to the start of another. This generally means that an end-of-line character will appear at the end of the range. |
TEXT_BOUNDARY_LINE_END |
Boundary condition is the end of a line; i.e. range is from start of one line to the start of another. This generally means that an end-of-line character will be the first character of the range. |
TEXT_CLIP_TYPE: CLIP_MIN means text clipped by min coordinate is omitted, CLIP_MAX clips text interescted by the max coord, and CLIP_BOTH will retain only text falling fully within the min/max bounds.