Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
 
Accessibility Implementation Constants  

AccessibilityImplementation constants are for use with the flash.accessibility.AccessibilityImplementation class.

Error Codes
Object Role Constants
Object State Constants
Selection Flags
Event Constants

Error Codes

Assign these to the AccessibilityImplementation.errno property to indicate errors.

E_NOERROR         =  0x00000000;  // No error
E_FAIL            =  0x80004005;  // Generic or unexpected failure
E_MEMBERNOTFOUND  =  0x80020003;  // This property is inapplicable to this object
E_INVALIDARG      =  0x80070057;  // One or more arguments were invalid

Object Role Constants

See Microsoft's Accessibility Object Roles for documentation.

ROLE_SYSTEM_ALERT               =  0x08;
ROLE_SYSTEM_ANIMATION           =  0x36;
ROLE_SYSTEM_APPLICATION         =  0x0e;
ROLE_SYSTEM_BORDER              =  0x13;
ROLE_SYSTEM_BUTTONDROPDOWN      =  0x38;
ROLE_SYSTEM_BUTTONDROPDOWNGRID  =  0x3a;
ROLE_SYSTEM_BUTTONMENU          =  0x39;
ROLE_SYSTEM_CARET               =  0x07;
ROLE_SYSTEM_CELL                =  0x1d;
ROLE_SYSTEM_CHARACTER           =  0x20;
ROLE_SYSTEM_CHART               =  0x11;
ROLE_SYSTEM_CHECKBUTTON         =  0x2c;
ROLE_SYSTEM_CLIENT              =  0x0a;
ROLE_SYSTEM_CLOCK               =  0x3d;
ROLE_SYSTEM_COLUMN              =  0x1b;
ROLE_SYSTEM_COLUMNHEADER        =  0x19;
ROLE_SYSTEM_COMBOBOX            =  0x2e;
ROLE_SYSTEM_CURSOR              =  0x06;
ROLE_SYSTEM_DIAGRAM             =  0x35;
ROLE_SYSTEM_DIAL                =  0x31;
ROLE_SYSTEM_DIALOG              =  0x12;
ROLE_SYSTEM_DOCUMENT            =  0x0f;
ROLE_SYSTEM_DROPLIST            =  0x2f;
ROLE_SYSTEM_EQUATION            =  0x37;
ROLE_SYSTEM_GRAPHIC             =  0x28;
ROLE_SYSTEM_GRIP                =  0x04;
ROLE_SYSTEM_GROUPING            =  0x14;
ROLE_SYSTEM_HELPBALLOON         =  0x1f;
ROLE_SYSTEM_HOTKEYFIELD         =  0x32;
ROLE_SYSTEM_INDICATOR           =  0x27;
ROLE_SYSTEM_LINK                =  0x1e;
ROLE_SYSTEM_LIST                =  0x21;
ROLE_SYSTEM_LISTITEM            =  0x22;
ROLE_SYSTEM_MENUBAR             =  0x02;
ROLE_SYSTEM_MENUITEM            =  0x0c;
ROLE_SYSTEM_MENUPOPUP           =  0x0b;
ROLE_SYSTEM_OUTLINE             =  0x23;
ROLE_SYSTEM_OUTLINEITEM         =  0x24;
ROLE_SYSTEM_PAGETAB             =  0x25;
ROLE_SYSTEM_PAGETABLIST         =  0x3c;
ROLE_SYSTEM_PANE                =  0x10;
ROLE_SYSTEM_PROGRESSBAR         =  0x30;
ROLE_SYSTEM_PROPERTYPAGE        =  0x26;
ROLE_SYSTEM_PUSHBUTTON          =  0x2b;
ROLE_SYSTEM_RADIOBUTTON         =  0x2d;
ROLE_SYSTEM_ROW                 =  0x1c;
ROLE_SYSTEM_ROWHEADER           =  0x1a;
ROLE_SYSTEM_SCROLLBAR           =  0x03;
ROLE_SYSTEM_SEPARATOR           =  0x15;
ROLE_SYSTEM_SLIDER              =  0x33;
ROLE_SYSTEM_SOUND               =  0x05;
ROLE_SYSTEM_SPINBUTTON          =  0x34;
ROLE_SYSTEM_SPLITBUTTON		=  0x3e;
ROLE_SYSTEM_STATICTEXT          =  0x29;
ROLE_SYSTEM_STATUSBAR           =  0x17;
ROLE_SYSTEM_TABLE               =  0x18;
ROLE_SYSTEM_TEXT                =  0x2a;
ROLE_SYSTEM_TITLEBAR            =  0x01;
ROLE_SYSTEM_TOOLBAR             =  0x16;
ROLE_SYSTEM_TOOLTIP             =  0x0d;
ROLE_SYSTEM_WHITESPACE          =  0x3b;
ROLE_SYSTEM_WINDOW              =  0x09;

Object State Constants

See Microsoft's Accessibility Object State Constants for documentation.

STATE_SYSTEM_ALERT_HIGH       =  0x10000000;
STATE_SYSTEM_ALERT_LOW        =  0x04000000;
STATE_SYSTEM_ALERT_MEDIUM     =  0x08000000;
STATE_SYSTEM_ANIMATED         =  0x00004000;
STATE_SYSTEM_BUSY             =  0x00000800;
STATE_SYSTEM_CHECKED          =  0x00000010;
STATE_SYSTEM_COLLAPSED        =  0x00000400;
STATE_SYSTEM_DEFAULT          =  0x00000100;
STATE_SYSTEM_EXPANDED         =  0x00000200;
STATE_SYSTEM_EXTSELECTABLE    =  0x02000000;
STATE_SYSTEM_FLOATING         =  0x00001000;
STATE_SYSTEM_FOCUSABLE        =  0x00100000;
STATE_SYSTEM_FOCUSED          =  0x00000004;
STATE_SYSTEM_HOTTRACKED       =  0x00000080;
STATE_SYSTEM_INDETERMINATE    =  0x00000020;
STATE_SYSTEM_INVISIBLE        =  0x00008000;
STATE_SYSTEM_LINKED           =  0x00400000;
STATE_SYSTEM_MARQUEED         =  0x00002000;
STATE_SYSTEM_MIXED            =  0x00000020;
STATE_SYSTEM_MOVEABLE         =  0x00040000;
STATE_SYSTEM_MULTISELECTABLE  =  0x01000000;
STATE_SYSTEM_NORMAL           =  0x00000000;
STATE_SYSTEM_OFFSCREEN        =  0x00010000;
STATE_SYSTEM_PRESSED          =  0x00000008;
STATE_SYSTEM_PROTECTED        =  0x20000000;
STATE_SYSTEM_READONLY         =  0x00000040;
STATE_SYSTEM_SELECTABLE       =  0x00200000;
STATE_SYSTEM_SELECTED         =  0x00000002;
STATE_SYSTEM_SELFVOICING      =  0x00080000;
STATE_SYSTEM_SIZEABLE         =  0x00020000;
STATE_SYSTEM_TRAVERSED        =  0x00800000;
STATE_SYSTEM_UNAVAILABLE      =  0x00000001;

Selection Flags

The following constants are described in the AccessibilityImplementation class documentation under the accSelect() method.

SELFLAG_TAKEFOCUS        =  0x01;
SELFLAG_TAKESELECTION    =  0x02;
SELFLAG_EXTENDSELECTION  =  0x04;
SELFLAG_ADDSELECTION     =  0x08;
SELFLAG_REMOVESELECTION  =  0x10;

Event Constants

See Microsoft's Accessibility Event Constants for documentation.

EVENT_OBJECT_CREATE               =  0x8000;
EVENT_OBJECT_DESTROY              =  0x8001;
EVENT_OBJECT_SHOW                 =  0x8002;
EVENT_OBJECT_HIDE                 =  0x8003;
EVENT_OBJECT_REORDER              =  0x8004;
EVENT_OBJECT_FOCUS                =  0x8005;
EVENT_OBJECT_SELECTION            =  0x8006;
EVENT_OBJECT_SELECTIONADD         =  0x8007;
EVENT_OBJECT_SELECTIONREMOVE      =  0x8008;
EVENT_OBJECT_SELECTIONWITHIN      =  0x8009;
EVENT_OBJECT_STATECHANGE          =  0x800a;
EVENT_OBJECT_LOCATIONCHANGE       =  0x800b;
EVENT_OBJECT_NAMECHANGE           =  0x800c;
EVENT_OBJECT_DESCRIPTIONCHANGE    =  0x800d;
EVENT_OBJECT_VALUECHANGE          =  0x800e;
EVENT_OBJECT_PARENTCHANGE         =  0x800f;
EVENT_OBJECT_HELPCHANGE           =  0x8010;
EVENT_OBJECT_DEFACTIONCHANGE      =  0x8011;
EVENT_OBJECT_ACCELERATORCHANGE    =  0x8012;