Class mx.accessibility.SimpleButtonAccImpl
Object
+--mx.accessibility.AccImpl
+--mx.accessibility.SimpleButtonAccImplField 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
EVENT_OBJECT_NAMECHANGE
EVENT_OBJECT_NAMECHANGE:NumberEVENT_OBJECT_STATECHANGE
EVENT_OBJECT_STATECHANGE:NumberSTATE_SYSTEM_PRESSED
owner
_onRelease
_setLabel
accessibilityHooked
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
- Return
- Name : String
get_accState
function get_accState(childId:Number):Number- Parameters
- Return
- STATE : Number
get_accDefaultAction
function get_accDefaultAction(childId:Number):String- Parameters
- Return
- DefaultAction : String
accDoDefaultAction
function accDoDefaultAction(childId:Number)- Parameters
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