CheckBoxAccImpl
| Kind of class: | class |
|---|---|
| Inherits from: | ButtonAccImpl < SimpleButtonAccImpl < AccImpl < Object |
| Known subclasses: | |
| Classpath: | mx.accessibility.CheckBoxAccImpl |
| File last modified: | Tuesday, 18 December 2007, 15:44:37 |
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();
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();
Summary
Constructor
- CheckBoxAccImpl (master:Object)
Class properties
- accessibilityHooked : Boolean
Class properties inherited from ButtonAccImpl
Class properties inherited from SimpleButtonAccImpl
Instance properties
- master : Object
- ROLE : Number
- STATE_SYSTEM_CHECKED : Number
- owner : Object
Instance properties inherited from ButtonAccImpl
Instance properties inherited from SimpleButtonAccImpl
Class methods
- enableAccessibility
- hookAccessibility : Boolean
- Static Method for swapping the createAccessibilityImplementation method of CheckBox with CheckBoxAccImpl class
Class methods inherited from ButtonAccImpl
Class methods inherited from SimpleButtonAccImpl
Instance methods
- createAccessibilityImplementation
- get_accState (childId:Number) : Number
- IAccessible method for returning the state of the CheckBox.
- get_accDefaultAction (childId:Number) : String
- IAccessible method for returning the default action of the CheckBox, which is Check or UnCheck depending on the state.
Instance methods inherited from ButtonAccImpl
Instance methods inherited from SimpleButtonAccImpl
Instance methods inherited from AccImpl
Event handlers
Event handlers inherited from SimpleButtonAccImpl
Constructor
CheckBoxAccImpl
function CheckBoxAccImpl (
master:Object)
Class properties
accessibilityHooked
static accessibilityHooked:Boolean = hookAccessibility()
(read)
Instance properties
master
master:Object
(read)
owner
owner:Object = CheckBox
(read)
ROLE
ROLE:Number = 0x2c
(read)
STATE_SYSTEM_CHECKED
STATE_SYSTEM_CHECKED:Number = 0x10
(read)
Class methods
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
This method is required for compiler to activate the accessibility classes for a component
See also:
Overrides:
hookAccessibility
static function hookAccessibility (
) : Boolean
Static Method for swapping the createAccessibilityImplementation method of CheckBox with CheckBoxAccImpl class
Overrides:
Instance methods
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
Accessibility enabling code should be already written in the first frame of the FLA before this method is called
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
Returns:
- DefaultAction : String
Overrides:
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.
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.