Class mx.accessibility.ButtonAccImpl

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

Description

This is the accessibility class for Button. This AccImpl class would be used in CheckBox and RadioButton as these components inherit Button Class. If accessibility has to be enabled in a component, the following code should be written in the first frame of the FLA file import mx.accessibility.ButtonAccImpl; ButtonAccImpl.enableAccessibility();

Field Index

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

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

Constructor Detail

ButtonAccImpl

function ButtonAccImpl(master:
Object)

Field Detail

master

master:Object

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.ButtonAccImpl

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

hookAccessibility

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