Class mx.accessibility.CheckBoxAccImpl

Object
   +--mx.accessibility.AccImpl
      +--mx.accessibility.SimpleButtonAccImpl
         +--mx.accessibility.ButtonAccImpl
            +--mx.accessibility.CheckBoxAccImpl

Description

This is the accessibility class for CheckBox. If accessibility has to be enabled in a CheckBox, the following code should be written in the first frame of the FLA file import mx.accessibility.CheckBoxAccImpl; CheckBoxAccImpl.enableAccessibility();

Field Index

accessibilityHooked, master, owner, ROLE, STATE_SYSTEM_CHECKED
Inherited from ButtonAccImpl
accessibilityHooked, master, owner
Inherited from SimpleButtonAccImpl
_onRelease, _setLabel, accessibilityHooked, EVENT_OBJECT_NAMECHANGE, EVENT_OBJECT_STATECHANGE, owner, ROLE, STATE_SYSTEM_PRESSED
Inherited from AccImpl
_accImpl, master, ROLE, STATE_SYSTEM_NORMAL, stub
Inherited from Object
__proto__, constructor, prototype

Method Index

new CheckBoxAccImpl()

createAccessibilityImplementation(), enableAccessibility(), get_accDefaultAction(), get_accState(), hookAccessibility()
Inherited from ButtonAccImpl
Inherited from SimpleButtonAccImpl
accDoDefaultAction(), get_accName(), onRelease(), setLabel()
Inherited from AccImpl
get_accRole()
Inherited from Object
addProperty(), hasOwnProperty(), isPropertyEnumerable(), isPrototypeOf(), registerClass(), toLocaleString(), toString(), unwatch(), valueOf(), watch()

Constructor Detail

CheckBoxAccImpl

function CheckBoxAccImpl(master:
Object)

Field Detail

master

master:Object

ROLE

ROLE:Number

STATE_SYSTEM_CHECKED

STATE_SYSTEM_CHECKED:Number

owner

owner:Object

accessibilityHooked

static accessibilityHooked:Boolean

Method Detail

enableAccessibility

static function enableAccessibility()
Method call for enabling accessibility for a component This method is required for compiler to activate the accessibility classes for a component
See Also

mx.accessibility.CheckBoxAccImpl

createAccessibilityImplementation

function createAccessibilityImplementation()
Method for creating Accessibility class. This method is called from UIObject. Accessibility enabling code should be already written in the first frame of the FLA before this method is called

get_accState

function get_accState(childId:
Number):Number
IAccessible method for returning the state of the CheckBox. States are predefined for all the components in MSAA. Values are assigned to each state. Depending upon the CheckBox is checked or unchecked, a value is returned.
Parameters
childId : Number
Return
STATE : Number

get_accDefaultAction

function get_accDefaultAction(childId:
Number):String
IAccessible method for returning the default action of the CheckBox, which is Check or UnCheck depending on the state.
Parameters
childId : Number
Return
DefaultAction : String

hookAccessibility

static function hookAccessibility():
Boolean
Static Method for swapping the createAccessibilityImplementation method of CheckBox with CheckBoxAccImpl class