Main Page | Packages | Class Tree | Index | Help

mx.accessibility

class CheckBoxAccImpl

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

All Known Subclasses: RadioButtonAccImpl

class CheckBoxAccImpl
extends ButtonAccImpl

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 Summary

static
accessibilityHooked: Boolean
static variable pointing to the hookAccessibility Method.


master: Object



owner: Object



ROLE: Number



STATE_SYSTEM_CHECKED: Number


Fields inherited from class mx.accessibility.ButtonAccImpl

accessibilityHooked, master, owner

Fields inherited from class mx.accessibility.SimpleButtonAccImpl

_onRelease, _setLabel, accessibilityHooked, EVENT_OBJECT_NAMECHANGE, EVENT_OBJECT_STATECHANGE, owner, ROLE, STATE_SYSTEM_PRESSED

Fields inherited from class mx.accessibility.AccImpl

_accImpl, master, ROLE, STATE_SYSTEM_NORMAL, stub

Fields inherited from class Object

__proto__, constructor, prototype

Constructor


CheckBoxAccImpl ( master: Object)


Method Summary


createAccessibilityImplementation ( )
Method for creating Accessibility class.

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


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


get_accState ( childId : Number ): Number
IAccessible method for returning the state of the CheckBox.

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

Methods inherited from class mx.accessibility.ButtonAccImpl

createAccessibilityImplementation, enableAccessibility, hookAccessibility

Methods inherited from class mx.accessibility.SimpleButtonAccImpl

accDoDefaultAction, createAccessibilityImplementation, enableAccessibility, get_accDefaultAction, get_accName, get_accState, hookAccessibility, onRelease, setLabel

Methods inherited from class mx.accessibility.AccImpl

get_accRole

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

accessibilityHooked

static var accessibilityHooked: Boolean
static variable pointing to the hookAccessibility Method.

This is used for initializing CheckBoxAccImpl class before createAccessibilityImplementation method call from UIObject

master

var master: Object

owner

var owner: Object

ROLE

var ROLE: Number

STATE_SYSTEM_CHECKED

var STATE_SYSTEM_CHECKED: Number

Constructor Documentation

CheckBoxAccImpl

function CheckBoxAccImpl(master: Object)

Method Documentation

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

Overrides:

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

Overrides:

See also:

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.

Overrides:

Parameters:
childId
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.

Overrides:

Parameters:
childId
childId : Number
Returns:
STATE : Number

hookAccessibility

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

Overrides:


The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc