Class mx.accessibility.LabelAccImpl

Object
   +--mx.accessibility.AccImpl
      +--mx.accessibility.LabelAccImpl

Description

This is the accessibility class for Label. If accessibility has to be enabled in a Label, the following code should be written in the first frame of the FLA file import mx.accessibility.LabelAccImpl; labelAccImpl.enableAccessibility();

Field Index

_setText, accessibilityHooked, EVENT_OBJECT_NAMECHANGE, master, owner, ROLE
Inherited from AccImpl
_accImpl, master, ROLE, STATE_SYSTEM_NORMAL, stub
Inherited from Object
__proto__, constructor, prototype

Method Index

new LabelAccImpl()

createAccessibilityImplementation(), enableAccessibility(), get_accName(), hookAccessibility(), setText()
Inherited from AccImpl
get_accRole()
Inherited from Object
addProperty(), hasOwnProperty(), isPropertyEnumerable(), isPrototypeOf(), registerClass(), toLocaleString(), toString(), unwatch(), valueOf(), watch()

Constructor Detail

LabelAccImpl

function LabelAccImpl(m:
Object)

Field Detail

master

master:Object

ROLE

ROLE:Number

EVENT_OBJECT_NAMECHANGE

EVENT_OBJECT_NAMECHANGE:Number

owner

owner:Object

_setText

_setText:Function

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

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_accName

function get_accName(childId:
Number):String
Parameters
childId : Number
Return
Name : String

setText

function setText(text:
String):String

hookAccessibility

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