LabelAccImpl

Kind of class:class
Inherits from:AccImpl < Object
Classpath:mx.accessibility.LabelAccImpl
File last modified:Tuesday, 18 December 2007, 15:44:37
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();

Summary


Constructor
Class properties
Instance properties
Instance properties inherited from AccImpl
Class methods
Instance methods
Instance methods inherited from AccImpl

Constructor

LabelAccImpl

function LabelAccImpl (
m:Object)

Class properties

accessibilityHooked

static accessibilityHooked:Boolean = hookAccessibility()
(read)

Instance properties

_setText

_setText:Function
(read)

EVENT_OBJECT_NAMECHANGE

EVENT_OBJECT_NAMECHANGE:Number = 0x800c
(read)

master

master:Object
(read)

owner

owner:Object = Label
(read)

ROLE

ROLE:Number = 0x29
(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
See also:

hookAccessibility

static function hookAccessibility (
) : Boolean

Static Method for swapping the createAccessibilityImplementation method of Label with LabelAccImpl 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_accName

function get_accName (
childId:Number) : String

Parameters:
childId:
Number
Returns:
  • Name : String

setText

function setText (
text:String) : String