Object
+--mx.accessibility.AccImpl
+--mx.accessibility.SimpleButtonAccImpl
+--mx.accessibility.ButtonAccImpl
+--mx.accessibility.CheckBoxAccImplThis 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();
accessibilityHooked, master, owner, ROLE, STATE_SYSTEM_CHECKEDaccessibilityHooked, master, owner_onRelease, _setLabel, accessibilityHooked, EVENT_OBJECT_NAMECHANGE, EVENT_OBJECT_STATECHANGE, owner, ROLE, STATE_SYSTEM_PRESSED_accImpl, master, ROLE, STATE_SYSTEM_NORMAL, stub__proto__, constructor, prototypemaster:ObjectROLE:NumberSTATE_SYSTEM_CHECKED:Numberowner:Objectstatic accessibilityHooked:Booleanstatic 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
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
function get_accState(childId:Number):NumberIAccessible 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
function get_accDefaultAction(childId:Number):StringIAccessible method for returning the default action of the CheckBox, which is Check or UnCheck depending on the state.
- Parameters
childId: Number - Return
- DefaultAction : String
static function hookAccessibility():BooleanStatic Method for swapping the createAccessibilityImplementation method of CheckBox with CheckBoxAccImpl class