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();

Summary


Constructor
Class properties
Class properties inherited from ButtonAccImpl
Class properties inherited from SimpleButtonAccImpl
Instance properties
Class methods
Instance methods
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

hookAccessibility

static function hookAccessibility (
) : Boolean

Static Method for swapping the createAccessibilityImplementation method of CheckBox with CheckBoxAccImpl class

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

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

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
Returns:
  • STATE : Number