Class ACC

java.lang.Object
org.eclipse.swt.accessibility.ACC

public class ACC extends Object
Class ACC contains all the constants used in defining an Accessible object.
Since:
2.0
See Also:
  • Field Details

    • STATE_NORMAL

      public static final int STATE_NORMAL
      See Also:
    • STATE_SELECTED

      public static final int STATE_SELECTED
      See Also:
    • STATE_SELECTABLE

      public static final int STATE_SELECTABLE
      See Also:
    • STATE_MULTISELECTABLE

      public static final int STATE_MULTISELECTABLE
      See Also:
    • STATE_FOCUSED

      public static final int STATE_FOCUSED
      See Also:
    • STATE_FOCUSABLE

      public static final int STATE_FOCUSABLE
      See Also:
    • STATE_PRESSED

      public static final int STATE_PRESSED
      See Also:
    • STATE_CHECKED

      public static final int STATE_CHECKED
      See Also:
    • STATE_EXPANDED

      public static final int STATE_EXPANDED
      See Also:
    • STATE_COLLAPSED

      public static final int STATE_COLLAPSED
      See Also:
    • STATE_HOTTRACKED

      public static final int STATE_HOTTRACKED
      See Also:
    • STATE_BUSY

      public static final int STATE_BUSY
      See Also:
    • STATE_READONLY

      public static final int STATE_READONLY
      See Also:
    • STATE_INVISIBLE

      public static final int STATE_INVISIBLE
      See Also:
    • STATE_OFFSCREEN

      public static final int STATE_OFFSCREEN
      See Also:
    • STATE_SIZEABLE

      public static final int STATE_SIZEABLE
      See Also:
    • STATE_LINKED

      public static final int STATE_LINKED
      See Also:
    • STATE_DISABLED

      public static final int STATE_DISABLED
      Since:
      3.6
      See Also:
    • STATE_ACTIVE

      public static final int STATE_ACTIVE
      Since:
      3.6
      See Also:
    • STATE_SINGLELINE

      public static final int STATE_SINGLELINE
      Since:
      3.6
      See Also:
    • STATE_MULTILINE

      public static final int STATE_MULTILINE
      Since:
      3.6
      See Also:
    • STATE_REQUIRED

      public static final int STATE_REQUIRED
      Since:
      3.6
      See Also:
    • STATE_INVALID_ENTRY

      public static final int STATE_INVALID_ENTRY
      Since:
      3.6
      See Also:
    • STATE_SUPPORTS_AUTOCOMPLETION

      public static final int STATE_SUPPORTS_AUTOCOMPLETION
      Since:
      3.6
      See Also:
    • ROLE_CLIENT_AREA

      public static final int ROLE_CLIENT_AREA
      See Also:
    • ROLE_WINDOW

      public static final int ROLE_WINDOW
      See Also:
    • ROLE_MENUBAR

      public static final int ROLE_MENUBAR
      See Also:
    • ROLE_MENU

      public static final int ROLE_MENU
      See Also:
    • ROLE_MENUITEM

      public static final int ROLE_MENUITEM
      See Also:
    • ROLE_SEPARATOR

      public static final int ROLE_SEPARATOR
      See Also:
    • ROLE_TOOLTIP

      public static final int ROLE_TOOLTIP
      See Also:
    • ROLE_SCROLLBAR

      public static final int ROLE_SCROLLBAR
      See Also:
    • ROLE_DIALOG

      public static final int ROLE_DIALOG
      See Also:
    • ROLE_LABEL

      public static final int ROLE_LABEL
      See Also:
    • ROLE_PUSHBUTTON

      public static final int ROLE_PUSHBUTTON
      See Also:
    • ROLE_CHECKBUTTON

      public static final int ROLE_CHECKBUTTON
      See Also:
    • ROLE_RADIOBUTTON

      public static final int ROLE_RADIOBUTTON
      See Also:
    • ROLE_SPLITBUTTON

      public static final int ROLE_SPLITBUTTON
      Since:
      3.5
      See Also:
    • ROLE_COMBOBOX

      public static final int ROLE_COMBOBOX
      See Also:
    • ROLE_TEXT

      public static final int ROLE_TEXT
      See Also:
    • ROLE_TOOLBAR

      public static final int ROLE_TOOLBAR
      See Also:
    • ROLE_LIST

      public static final int ROLE_LIST
      See Also:
    • ROLE_LISTITEM

      public static final int ROLE_LISTITEM
      See Also:
    • ROLE_TABLE

      public static final int ROLE_TABLE
      See Also:
    • ROLE_TABLECELL

      public static final int ROLE_TABLECELL
      See Also:
    • ROLE_TABLECOLUMNHEADER

      public static final int ROLE_TABLECOLUMNHEADER
      See Also:
    • ROLE_TABLECOLUMN

      @Deprecated public static final int ROLE_TABLECOLUMN
      Deprecated.
      use ROLE_TABLECOLUMNHEADER
      See Also:
    • ROLE_TABLEROWHEADER

      public static final int ROLE_TABLEROWHEADER
      See Also:
    • ROLE_TREE

      public static final int ROLE_TREE
      See Also:
    • ROLE_TREEITEM

      public static final int ROLE_TREEITEM
      See Also:
    • ROLE_TABFOLDER

      public static final int ROLE_TABFOLDER
      See Also:
    • ROLE_TABITEM

      public static final int ROLE_TABITEM
      See Also:
    • ROLE_PROGRESSBAR

      public static final int ROLE_PROGRESSBAR
      See Also:
    • ROLE_SLIDER

      public static final int ROLE_SLIDER
      See Also:
    • ROLE_ALERT

      public static final int ROLE_ALERT
      Since:
      3.6
      See Also:
    • ROLE_ANIMATION

      public static final int ROLE_ANIMATION
      Since:
      3.6
      See Also:
    • ROLE_CANVAS

      public static final int ROLE_CANVAS
      Since:
      3.6
      See Also:
    • ROLE_COLUMN

      public static final int ROLE_COLUMN
      Since:
      3.6
      See Also:
    • ROLE_DOCUMENT

      public static final int ROLE_DOCUMENT
      Since:
      3.6
      See Also:
    • ROLE_GRAPHIC

      public static final int ROLE_GRAPHIC
      Since:
      3.6
      See Also:
    • ROLE_GROUP

      public static final int ROLE_GROUP
      Since:
      3.6
      See Also:
    • ROLE_ROW

      public static final int ROLE_ROW
      Since:
      3.6
      See Also:
    • ROLE_SPINBUTTON

      public static final int ROLE_SPINBUTTON
      Since:
      3.6
      See Also:
    • ROLE_STATUSBAR

      public static final int ROLE_STATUSBAR
      Since:
      3.6
      See Also:
    • ROLE_CHECKMENUITEM

      public static final int ROLE_CHECKMENUITEM
      Since:
      3.6
      See Also:
    • ROLE_RADIOMENUITEM

      public static final int ROLE_RADIOMENUITEM
      Since:
      3.6
      See Also:
    • ROLE_CLOCK

      public static final int ROLE_CLOCK
      Since:
      3.6
      See Also:
    • ROLE_CALENDAR

      public static final int ROLE_CALENDAR
      Since:
      3.6
      See Also:
    • ROLE_DATETIME

      public static final int ROLE_DATETIME
      Since:
      3.6
      See Also:
    • ROLE_FORM

      public static final int ROLE_FORM
      Since:
      3.6
      See Also:
    • ROLE_HEADER

      public static final int ROLE_HEADER
      Since:
      3.6
      See Also:
    • ROLE_HEADING

      public static final int ROLE_HEADING
      Since:
      3.6
      See Also:
    • ROLE_PAGE

      public static final int ROLE_PAGE
      Since:
      3.6
      See Also:
    • ROLE_PARAGRAPH

      public static final int ROLE_PARAGRAPH
      Since:
      3.6
      See Also:
    • ROLE_SECTION

      public static final int ROLE_SECTION
      Since:
      3.6
      See Also:
    • CHILDID_SELF

      public static final int CHILDID_SELF
      See Also:
    • CHILDID_NONE

      public static final int CHILDID_NONE
      See Also:
    • CHILDID_MULTIPLE

      public static final int CHILDID_MULTIPLE
      See Also:
    • CHILDID_CHILD_AT_INDEX

      public static final int CHILDID_CHILD_AT_INDEX
      An AT is requesting the accessible child object at the specified index.
      Since:
      3.6
      See Also:
    • CHILDID_CHILD_INDEX

      public static final int CHILDID_CHILD_INDEX
      An AT is requesting the index of this accessible in its parent.
      Since:
      3.6
      See Also:
    • VISIBLE

      public static final int VISIBLE
      A detail constant indicating visible accessible objects.
      Since:
      3.6
      See Also:
    • INSERT

      public static final int INSERT
      A type constant specifying that insertion occurred.
      Since:
      3.6
      See Also:
    • DELETE

      public static final int DELETE
      A type constant specifying that deletion occurred.
      Since:
      3.6
      See Also:
    • TEXT_INSERT

      public static final int TEXT_INSERT
      See Also:
    • TEXT_DELETE

      public static final int TEXT_DELETE
      See Also:
    • OK

      public static final String OK
      A constant specifying that an operation succeeded.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • TEXT_BOUNDARY_SENTENCE

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

      public static final int TEXT_BOUNDARY_PARAGRAPH
      Range is from start of one paragraph to the start of another paragraph.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • TEXT_BOUNDARY_ALL

      public static final int TEXT_BOUNDARY_ALL
      Using this value will cause all text to be returned.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • SCROLL_TYPE_POINT

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

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

      public static final int EVENT_TEXT_SELECTION_CHANGED
      Send when an object's text selection has changed.
      Since:
      3.6
      See Also:
    • 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
      Since:
      3.6
      See Also:
    • 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.

      Since:
      3.6
      See Also:
    • EVENT_NAME_CHANGED

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

      public static final int EVENT_DESCRIPTION_CHANGED
      Send when an object's description has changed.
      Since:
      3.6
      See Also:
    • 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
      Since:
      3.6
      See Also:
    • EVENT_DOCUMENT_LOAD_COMPLETE

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

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

      public static final int EVENT_DOCUMENT_RELOAD
      Send when the document contents are being reloaded.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • EVENT_SECTION_CHANGED

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

      public static final int EVENT_ACTION_CHANGED
      Send when the count or attributes of an accessible object's actions have changed.
      Since:
      3.6
      See Also:
    • EVENT_ATTRIBUTE_CHANGED

      public static final int EVENT_ATTRIBUTE_CHANGED
      Send when an object's attributes have changed.
      Since:
      3.6
      See Also:
    • EVENT_TABLE_CAPTION_CHANGED

      public static final int EVENT_TABLE_CAPTION_CHANGED
      Send when a table caption has changed.
      Since:
      3.6
      See Also:
    • EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED

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

      public static final int EVENT_TABLE_COLUMN_HEADER_CHANGED
      Send when a table's column header has changed.
      Since:
      3.6
      See Also:
    • 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
      Since:
      3.6
      See Also:
    • EVENT_TABLE_ROW_DESCRIPTION_CHANGED

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

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

      public static final int EVENT_TABLE_SUMMARY_CHANGED
      Send when a table's summary has changed.
      Since:
      3.6
      See Also:
    • EVENT_TEXT_ATTRIBUTE_CHANGED

      public static final int EVENT_TEXT_ATTRIBUTE_CHANGED
      Send when a text object's attributes have changed.
      Since:
      3.6
      See Also:
    • EVENT_TEXT_CARET_MOVED

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

      public static final int EVENT_TEXT_COLUMN_CHANGED
      Send when the caret has moved from one column to the next.
      Since:
      3.6
      See Also:
    • 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
      Since:
      3.6
      See Also:
    • RELATION_CONTROLLED_BY

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

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

      public static final int RELATION_DESCRIBED_BY
      This object is described by the target object.
      Since:
      3.6
      See Also:
    • RELATION_DESCRIPTION_FOR

      public static final int RELATION_DESCRIPTION_FOR
      This object is describes the target object.
      Since:
      3.6
      See Also:
    • RELATION_EMBEDDED_BY

      public static final int RELATION_EMBEDDED_BY
      This object is embedded by a target object.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • RELATION_FLOWS_TO

      public static final int RELATION_FLOWS_TO
      Content flows from this object to a target object.
      Since:
      3.6
      See Also:
    • RELATION_LABEL_FOR

      public static final int RELATION_LABEL_FOR
      This object is label for a target object.
      Since:
      3.6
      See Also:
    • RELATION_LABELLED_BY

      public static final int RELATION_LABELLED_BY
      This object is labelled by a target object.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • RELATION_NODE_CHILD_OF

      public static final int RELATION_NODE_CHILD_OF
      This object is a child of a target object.
      Since:
      3.6
      See Also:
    • RELATION_PARENT_WINDOW_OF

      public static final int RELATION_PARENT_WINDOW_OF
      This object is a parent window of the target object.
      Since:
      3.6
      See Also:
    • 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.
      Since:
      3.6
      See Also:
    • RELATION_SUBWINDOW_OF

      public static final int RELATION_SUBWINDOW_OF
      This object is a sub window of a target object.
      Since:
      3.6
      See Also:
  • Constructor Details

    • ACC

      public ACC()