Class ACC


  • public class ACC
    extends java.lang.Object
    Class ACC contains all the constants used in defining an Accessible object.
    Since:
    1.4
    See Also:
    Sample code and further information
    • Field Detail

      • STATE_SUPPORTS_AUTOCOMPLETION

        public static final int STATE_SUPPORTS_AUTOCOMPLETION
        See Also:
        Constant Field Values
      • VISIBLE

        public static final int VISIBLE
        A detail constant indicating visible accessible objects.
        See Also:
        Constant Field Values
      • INSERT

        public static final int INSERT
        A type constant specifying that insertion occurred.
        See Also:
        Constant Field Values
      • DELETE

        public static final int DELETE
        A type constant specifying that deletion occurred.
        See Also:
        Constant Field Values
      • OK

        public static final java.lang.String OK
        A constant specifying that an operation succeeded.
        See Also:
        Constant Field Values
      • TEXT_BOUNDARY_CHAR

        public static final int TEXT_BOUNDARY_CHAR
        Typically, a single character is returned. In some cases more than one character is returned, for example, when a document contains field data such as a field containing a date, time, or footnote reference. In this case the caret can move over several characters in one movement of the caret. Note that after the caret moves, the caret offset changes by the number of characters in the field, e.g. by 8 characters in the following date: 03/26/07.
        See Also:
        Constant Field Values
      • TEXT_BOUNDARY_WORD

        public static final int TEXT_BOUNDARY_WORD
        The range provided matches the range observed when the application processes the Ctrl + left arrow and Ctrl + right arrow key sequences. Typically this is from the start of one word to the start of the next, but various applications are inconsistent in the handling of the end of a line.
        See Also:
        Constant Field Values
      • TEXT_BOUNDARY_SENTENCE

        public static final int TEXT_BOUNDARY_SENTENCE
        Range is from start of one sentence to the start of another sentence.
        See Also:
        Constant Field Values
      • TEXT_BOUNDARY_PARAGRAPH

        public static final int TEXT_BOUNDARY_PARAGRAPH
        Range is from start of one paragraph to the start of another paragraph.
        See Also:
        Constant Field Values
      • TEXT_BOUNDARY_LINE

        public static final int TEXT_BOUNDARY_LINE
        Range is from start of one line to the start of another line. This often means that an end-of-line character will appear at the end of the range. However in the case of some applications an end-of-line character indicates the end of a paragraph and the lines composing the paragraph, other than the last line, do not contain an end of line character.
        See Also:
        Constant Field Values
      • TEXT_BOUNDARY_ALL

        public static final int TEXT_BOUNDARY_ALL
        Using this value will cause all text to be returned.
        See Also:
        Constant Field Values
      • SCROLL_TYPE_TOP_LEFT

        public static final int SCROLL_TYPE_TOP_LEFT
        Scroll the top left corner of the object or substring such that the top left corner (and as much as possible of the rest of the object or substring) is within the top level window. In cases where the entire object or substring fits within the top level window, the placement of the object or substring is dependent on the application. For example, the object or substring may be scrolled to the closest edge, the furthest edge, or midway between those two edges. In cases where there is a hierarchy of nested scrollable controls, more than one control may have to be scrolled.
        See Also:
        Constant Field Values
      • SCROLL_TYPE_BOTTOM_RIGHT

        public static final int SCROLL_TYPE_BOTTOM_RIGHT
        Scroll the bottom right corner of the object or substring such that the bottom right corner (and as much as possible of the rest of the object or substring) is within the top level window. In cases where the entire object or substring fits within the top level window, the placement of the object or substring is dependent on the application. For example, the object or substring may be scrolled to the closest edge, the furthest edge, or midway between those two edges. In cases where there is a hierarchy of nested scrollable controls, more than one control may have to be scrolled.
        See Also:
        Constant Field Values
      • SCROLL_TYPE_TOP_EDGE

        public static final int SCROLL_TYPE_TOP_EDGE
        Scroll the top edge of the object or substring such that the top edge (and as much as possible of the rest of the object or substring) is within the top level window. In cases where the entire object or substring fits within the top level window, the placement of the object or substring is dependent on the application. For example, the object or substring may be scrolled to the closest edge, the furthest edge, or midway between those two edges. In cases where there is a hierarchy of nested scrollable controls, more than one control may have to be scrolled.
        See Also:
        Constant Field Values
      • SCROLL_TYPE_BOTTOM_EDGE

        public static final int SCROLL_TYPE_BOTTOM_EDGE
        Scroll the bottom edge of the object or substring such that the bottom edge (and as much as possible of the rest of the object or substring) is within the top level window. In cases where the entire object or substring fits within the top level window, the placement of the object or substring is dependent on the application. For example, the object or substring may be scrolled to the closest edge, the furthest edge, or midway between those two edges. In cases where there is a hierarchy of nested scrollable controls, more than one control may have to be scrolled.
        See Also:
        Constant Field Values
      • SCROLL_TYPE_LEFT_EDGE

        public static final int SCROLL_TYPE_LEFT_EDGE
        Scroll the left edge of the object or substring such that the left edge (and as much as possible of the rest of the object or substring) is within the top level window. In cases where the entire object or substring fits within the top level window, the placement of the object or substring is dependent on the application. For example, the object or substring may be scrolled to the closest edge, the furthest edge, or midway between those two edges. In cases where there is a hierarchy of nested scrollable controls, more than one control may have to be scrolled.
        See Also:
        Constant Field Values
      • SCROLL_TYPE_RIGHT_EDGE

        public static final int SCROLL_TYPE_RIGHT_EDGE
        Scroll the right edge of the object or substring such that the right edge (and as much as possible of the rest of the object or substring) is within the top level window. In cases where the entire object or substring fits within the top level window, the placement of the object or substring is dependent on the application. For example, the object or substring may be scrolled to the closest edge, the furthest edge, or midway between those two edges. In cases where there is a hierarchy of nested scrollable controls, more than one control may have to be scrolled.
        See Also:
        Constant Field Values
      • SCROLL_TYPE_ANYWHERE

        public static final int SCROLL_TYPE_ANYWHERE
        Scroll the object or substring such that as much as possible of the object or substring is within the top level window. The placement of the object is dependent on the application. For example, the object or substring may be scrolled to to closest edge, the furthest edge, or midway between those two edges.
        See Also:
        Constant Field Values
      • SCROLL_TYPE_POINT

        public static final int SCROLL_TYPE_POINT
        Scroll the top left corner of the object or substring to the specified point.
        See Also:
        Constant Field Values
      • EVENT_SELECTION_CHANGED

        public static final int EVENT_SELECTION_CHANGED
        Send when the selection within a container has changed.
        See Also:
        Constant Field Values
      • EVENT_TEXT_SELECTION_CHANGED

        public static final int EVENT_TEXT_SELECTION_CHANGED
        Send when an object's text selection has changed.
        See Also:
        Constant Field Values
      • EVENT_STATE_CHANGED

        public static final int EVENT_STATE_CHANGED
        Send when an object's state has changed, for example enabled/disabled, pressed/released, or checked/unchecked.

        The eventData object is an array of 2 ints specifying the following:

        • state - the STATE_* constant identifying the state that changed
        • newValue - either 1 or 0, indicating whether the state has changed to true or false

        See Also:
        Constant Field Values
      • EVENT_LOCATION_CHANGED

        public static final int EVENT_LOCATION_CHANGED
        Send when an object has moved.

        Note: only send one notification for the topmost object that has changed.

        See Also:
        Constant Field Values
      • EVENT_NAME_CHANGED

        public static final int EVENT_NAME_CHANGED
        Send when an object's name has changed.
        See Also:
        Constant Field Values
      • EVENT_DESCRIPTION_CHANGED

        public static final int EVENT_DESCRIPTION_CHANGED
        Send when an object's description has changed.
        See Also:
        Constant Field Values
      • EVENT_VALUE_CHANGED

        public static final int EVENT_VALUE_CHANGED
        Send when an object's value has changed.

        The eventData object is an array of 2 Numbers specifying the following:

        • oldValue - the object's old value
        • newValue - the object's new value

        See Also:
        Constant Field Values
      • EVENT_DOCUMENT_LOAD_COMPLETE

        public static final int EVENT_DOCUMENT_LOAD_COMPLETE
        Send when the loading of a document has completed.
        See Also:
        Constant Field Values
      • EVENT_DOCUMENT_LOAD_STOPPED

        public static final int EVENT_DOCUMENT_LOAD_STOPPED
        Send when the loading of a document was interrupted.
        See Also:
        Constant Field Values
      • EVENT_DOCUMENT_RELOAD

        public static final int EVENT_DOCUMENT_RELOAD
        Send when the document contents are being reloaded.
        See Also:
        Constant Field Values
      • EVENT_PAGE_CHANGED

        public static final int EVENT_PAGE_CHANGED
        Send when a slide changed in a presentation document or a page boundary was crossed in a word processing document.
        See Also:
        Constant Field Values
      • EVENT_SECTION_CHANGED

        public static final int EVENT_SECTION_CHANGED
        Send when the caret moved from one section to the next.
        See Also:
        Constant Field Values
      • EVENT_ACTION_CHANGED

        public static final int EVENT_ACTION_CHANGED
        Send when the count or attributes of an accessible object's actions have changed.
        See Also:
        Constant Field Values
      • EVENT_HYPERLINK_START_INDEX_CHANGED

        public static final int EVENT_HYPERLINK_START_INDEX_CHANGED
        Send when the starting index of this link within the containing string has changed.
        See Also:
        Constant Field Values
      • EVENT_HYPERLINK_END_INDEX_CHANGED

        public static final int EVENT_HYPERLINK_END_INDEX_CHANGED
        Send when the ending index of this link within the containing string has changed.
        See Also:
        Constant Field Values
      • EVENT_HYPERLINK_ANCHOR_COUNT_CHANGED

        public static final int EVENT_HYPERLINK_ANCHOR_COUNT_CHANGED
        Send when the number of anchors associated with this hyperlink object has changed.
        See Also:
        Constant Field Values
      • EVENT_HYPERLINK_SELECTED_LINK_CHANGED

        public static final int EVENT_HYPERLINK_SELECTED_LINK_CHANGED
        Send when the hyperlink selected state changed from selected to unselected or from unselected to selected.
        See Also:
        Constant Field Values
      • EVENT_HYPERLINK_ACTIVATED

        public static final int EVENT_HYPERLINK_ACTIVATED
        Send when the hyperlink has been activated.
        See Also:
        Constant Field Values
      • EVENT_HYPERTEXT_LINK_SELECTED

        public static final int EVENT_HYPERTEXT_LINK_SELECTED
        Send when one of the links associated with the hypertext object has been selected.

        The eventData object is an Integer that represents the index of the selected link in the hypertext object.

        See Also:
        Constant Field Values
      • EVENT_HYPERTEXT_LINK_COUNT_CHANGED

        public static final int EVENT_HYPERTEXT_LINK_COUNT_CHANGED
        Send when the number of hyperlinks associated with a hypertext object has changed.
        See Also:
        Constant Field Values
      • EVENT_TABLE_CAPTION_CHANGED

        public static final int EVENT_TABLE_CAPTION_CHANGED
        Send when a table caption has changed.
        See Also:
        Constant Field Values
      • EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED

        public static final int EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED
        Send when a table's column description has changed.
        See Also:
        Constant Field Values
      • EVENT_TABLE_COLUMN_HEADER_CHANGED

        public static final int EVENT_TABLE_COLUMN_HEADER_CHANGED
        Send when a table's column header has changed.
        See Also:
        Constant Field Values
      • EVENT_TABLE_CHANGED

        public static final int EVENT_TABLE_CHANGED
        Send when a table's data has changed.

        The eventData object is an array of 5 ints specifying the following:

        • type - INSERT or DELETE - the type of change
        • rowStart - the index of the first row that changed
        • rowCount - the number of contiguous rows that changed, or 0 if no rows changed
        • columnStart - the index of the first column that changed
        • columnCount - the number of contiguous columns that changed, or 0 if no columns changed

        See Also:
        Constant Field Values
      • EVENT_TABLE_ROW_DESCRIPTION_CHANGED

        public static final int EVENT_TABLE_ROW_DESCRIPTION_CHANGED
        Send when a table's row description has changed.
        See Also:
        Constant Field Values
      • EVENT_TABLE_ROW_HEADER_CHANGED

        public static final int EVENT_TABLE_ROW_HEADER_CHANGED
        Send when a table's row header has changed.
        See Also:
        Constant Field Values
      • EVENT_TABLE_SUMMARY_CHANGED

        public static final int EVENT_TABLE_SUMMARY_CHANGED
        Send when a table's summary has changed.
        See Also:
        Constant Field Values
      • EVENT_TEXT_CARET_MOVED

        public static final int EVENT_TEXT_CARET_MOVED
        Send when the caret has moved to a new position.
        See Also:
        Constant Field Values
      • EVENT_TEXT_COLUMN_CHANGED

        public static final int EVENT_TEXT_COLUMN_CHANGED
        Send when the caret has moved from one column to the next.
        See Also:
        Constant Field Values
      • EVENT_TEXT_CHANGED

        public static final int EVENT_TEXT_CHANGED
        Send when text was inserted or deleted.

        The eventData object is an array of 4 objects specifying the following:

        • type - INSERT or DELETE - the type of change
        • start - the index of the first character that changed
        • end - the index of the last character that changed
        • text - the text string that was inserted or deleted

        See Also:
        Constant Field Values
      • RELATION_CONTROLLED_BY

        public static final int RELATION_CONTROLLED_BY
        Some attribute of this object is affected by a target object.
        See Also:
        Constant Field Values
      • RELATION_CONTROLLER_FOR

        public static final int RELATION_CONTROLLER_FOR
        This object is interactive and controls some attribute of a target object.
        See Also:
        Constant Field Values
      • RELATION_DESCRIBED_BY

        public static final int RELATION_DESCRIBED_BY
        This object is described by the target object.
        See Also:
        Constant Field Values
      • RELATION_DESCRIPTION_FOR

        public static final int RELATION_DESCRIPTION_FOR
        This object is describes the target object.
        See Also:
        Constant Field Values
      • RELATION_EMBEDDED_BY

        public static final int RELATION_EMBEDDED_BY
        This object is embedded by a target object.
        See Also:
        Constant Field Values
      • RELATION_EMBEDS

        public static final int RELATION_EMBEDS
        This object embeds a target object. This relation can be used on a control's accessible to show where the content areas are.
        See Also:
        Constant Field Values
      • RELATION_FLOWS_FROM

        public static final int RELATION_FLOWS_FROM
        Content flows to this object from a target object. This relation and RELATION_FLOWS_TO are useful to tie text and non-text objects together in order to allow assistive technology to follow the intended reading order.
        See Also:
        Constant Field Values
      • RELATION_FLOWS_TO

        public static final int RELATION_FLOWS_TO
        Content flows from this object to a target object.
        See Also:
        Constant Field Values
      • RELATION_LABEL_FOR

        public static final int RELATION_LABEL_FOR
        This object is label for a target object.
        See Also:
        Constant Field Values
      • RELATION_LABELLED_BY

        public static final int RELATION_LABELLED_BY
        This object is labelled by a target object.
        See Also:
        Constant Field Values
      • RELATION_MEMBER_OF

        public static final int RELATION_MEMBER_OF
        This object is a member of a group of one or more objects. When there is more than one object in the group each member may have one and the same target, e.g. a grouping object. It is also possible that each member has multiple additional targets, e.g. one for every other member in the group.
        See Also:
        Constant Field Values
      • RELATION_NODE_CHILD_OF

        public static final int RELATION_NODE_CHILD_OF
        This object is a child of a target object.
        See Also:
        Constant Field Values
      • RELATION_PARENT_WINDOW_OF

        public static final int RELATION_PARENT_WINDOW_OF
        This object is a parent window of the target object.
        See Also:
        Constant Field Values
      • RELATION_POPUP_FOR

        public static final int RELATION_POPUP_FOR
        This object is a transient component related to the target object. When this object is activated the target object doesn't lose focus.
        See Also:
        Constant Field Values
      • RELATION_SUBWINDOW_OF

        public static final int RELATION_SUBWINDOW_OF
        This object is a sub window of a target object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ACC

        public ACC()