Class mx.accessibility.SimpleButtonAccImpl

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

Description

Field Index

_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 SimpleButtonAccImpl()

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

Constructor Detail

SimpleButtonAccImpl

function SimpleButtonAccImpl(m:
Object)

Field Detail

ROLE

ROLE:Number

EVENT_OBJECT_NAMECHANGE

EVENT_OBJECT_NAMECHANGE:Number

EVENT_OBJECT_STATECHANGE

EVENT_OBJECT_STATECHANGE:Number

STATE_SYSTEM_PRESSED

STATE_SYSTEM_PRESSED:Number

owner

owner:Object

_onRelease

_onRelease:Function

_setLabel

_setLabel:Function

accessibilityHooked

static accessibilityHooked:Boolean

Method Detail

enableAccessibility

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

createAccessibilityImplementation

function createAccessibilityImplementation()

get_accName

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

get_accState

function get_accState(childId:
Number):Number
Parameters
childId : Number
Return
STATE : Number

get_accDefaultAction

function get_accDefaultAction(childId:
Number):String
Parameters
childId : Number
Return
DefaultAction : String

accDoDefaultAction

function accDoDefaultAction(childId:
Number)
Parameters
childId : Number

onRelease

function onRelease()

setLabel

function setLabel(label:
String)

hookAccessibility

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