Main Page | Packages | Class Tree | Index | Help

mx.accessibility

class LabelAccImpl

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


class LabelAccImpl
extends AccImpl

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 Summary


_setText: Function
have to define all internal variables on SimpleButton in order for the overriding functions to compile.

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


EVENT_OBJECT_NAMECHANGE: Number



master: Object



owner: Object



ROLE: Number
MSAA roles and events for static Text

Fields inherited from class mx.accessibility.AccImpl

_accImpl, master, ROLE, STATE_SYSTEM_NORMAL, stub

Fields inherited from class Object

__proto__, constructor, prototype

Constructor


LabelAccImpl ( m: 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_accName ( childId : Number ): String


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


setText ( text : String ): String
over riding main Label class method for emitting events

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

_setText

var _setText: Function
have to define all internal variables on SimpleButton in order for the overriding functions to compile.

accessibilityHooked

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

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

EVENT_OBJECT_NAMECHANGE

var EVENT_OBJECT_NAMECHANGE: Number

master

var master: Object

owner

var owner: Object

ROLE

var ROLE: Number
MSAA roles and events for static Text


Constructor Documentation

LabelAccImpl

function LabelAccImpl(m: 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

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:

get_accName

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

hookAccessibility

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

setText

function setText(text : String): String
over riding main Label class method for emitting events


The documentation was generated from the following file:


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