- Top
- Summary
- Constructors
- Class properties
- Instance properties
- Class methods
- Instance methods
- Event handlers
SimpleButtonAccImpl
| Kind of class: | class |
|---|---|
| Inherits from: | AccImpl < Object |
| Known subclasses: | |
| Classpath: | mx.accessibility.SimpleButtonAccImpl |
| File last modified: | Tuesday, 18 December 2007, 15:44:37 |
Summary
Constructor
- SimpleButtonAccImpl (m:Object)
Class properties
- accessibilityHooked : Boolean
Instance properties
- ROLE : Number
- EVENT_OBJECT_NAMECHANGE : Number
- EVENT_OBJECT_STATECHANGE : Number
- STATE_SYSTEM_PRESSED : Number
- owner : Object
- _onRelease : Function
- _setLabel : Function
Class methods
- enableAccessibility
- hookAccessibility : Boolean
- Static Method for swapping the createAccessibilityImplementation method of SimpleButton with SimpleButtonAccImpl class
Instance methods
- createAccessibilityImplementation
- get_accName (childId:Number) : String
- get_accState (childId:Number) : Number
- get_accDefaultAction (childId:Number) : String
- accDoDefaultAction (childId:Number)
- setLabel (label:String)
Instance methods inherited from AccImpl
Event handlers
Constructor
SimpleButtonAccImpl
function SimpleButtonAccImpl (
m:Object)
Class properties
accessibilityHooked
static accessibilityHooked:Boolean = hookAccessibility()
(read)
Instance properties
_onRelease
_onRelease:Function
(read)
_setLabel
_setLabel:Function
(read)
EVENT_OBJECT_NAMECHANGE
EVENT_OBJECT_NAMECHANGE:Number = 0x800c
(read)
EVENT_OBJECT_STATECHANGE
EVENT_OBJECT_STATECHANGE:Number = 0x800a
(read)
owner
owner:Object = SimpleButton
(read)
ROLE
ROLE:Number = 0x2b
(read)
STATE_SYSTEM_PRESSED
STATE_SYSTEM_PRESSED:Number = 0x00000008
(read)
Class methods
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
This method is required for compiler to activate the accessibility classes for a component
hookAccessibility
static function hookAccessibility (
) : Boolean
Static Method for swapping the createAccessibilityImplementation method of SimpleButton with SimpleButtonAccImpl class
Instance methods
accDoDefaultAction
function accDoDefaultAction (
childId:Number)
Parameters:
childId:
Number
createAccessibilityImplementation
function createAccessibilityImplementation (
)
get_accDefaultAction
function get_accDefaultAction (
childId:Number) : String
Parameters:
childId:
Number
Returns:
- DefaultAction : String
get_accName
function get_accName (
childId:Number) : String
Parameters:
childId:
Number
Returns:
- Name : String
get_accState
function get_accState (
childId:Number) : Number
Parameters:
childId:
Number
Returns:
- STATE : Number
setLabel
function setLabel (
label:String)
Event handlers
onRelease
function onRelease (
)