WindowAccImpl

Kind of class:class
Inherits from:AccImpl < Object
Known subclasses:
Classpath:mx.accessibility.WindowAccImpl
File last modified:Tuesday, 18 December 2007, 15:44:37
This is the accessibility class for Window.
If accessibility has to be enabled in a component, the following code should be written in the first frame of the FLA file
import mx.accessibility.WindowAccImpl;
WindowAccImpl.enableAccessibility();

Summary


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

Constructor

WindowAccImpl

function WindowAccImpl (
m:Object)

Class properties

accHooked

static accHooked:Boolean = hookAccessibility()
(read)

Instance properties

_clickHandler

_clickHandler:Function
(read)

_onRelease

_onRelease:Function
(read)

defining functions which would be pointing to mainclass functions

_parent

_parent:MovieClip
(read)

back_mc

back_mc:MovieClip
(read)

button_mc

button_mc:MovieClip
(read)

children

children:Array
(read)

content

content:MovieClip
(read)

EVENT_OBJECT_CREATE

EVENT_OBJECT_CREATE:Number = 0x8000
(read)

EVENT_OBJECT_DESTROY

EVENT_OBJECT_DESTROY:Number = 0x8001
(read)

EVENT_OBJECT_LOCATIONCHANGE

EVENT_OBJECT_LOCATIONCHANGE:Number = 0x800b
(read)

master

master:Object
(read)

owner

owner:Object = Window
(read)

ROLE

ROLE:Number = 0x09
(read)

ROLE_SYSTEM_DIALOG

ROLE_SYSTEM_DIALOG:Number = 0x12
(read)

ROLE_SYSTEM_PUSHBUTTON

ROLE_SYSTEM_PUSHBUTTON:Number = 0x2b
(read)

ROLE_SYSTEM_TITLEBAR

ROLE_SYSTEM_TITLEBAR:Number = 0x01
(read)

STATE_SYSTEM_DEFAULT

STATE_SYSTEM_DEFAULT:Number = 0x00000100
(read)

STATE_SYSTEM_FOCUSABLE

STATE_SYSTEM_FOCUSABLE:Number = 0x00100000
(read)

STATE_SYSTEM_FOCUSED

STATE_SYSTEM_FOCUSED:Number = 0x00000004
(read)

STATE_SYSTEM_INVISIBLE

STATE_SYSTEM_INVISIBLE:Number = 0x00008000
(read)

STATE_SYSTEM_MOVEABLE

STATE_SYSTEM_MOVEABLE:Number = 0x00040000
(read)

STATE_SYSTEM_OFFSCREEN

STATE_SYSTEM_OFFSCREEN:Number = 0x00010000
(read)

STATE_SYSTEM_SELECTABLE

STATE_SYSTEM_SELECTABLE:Number = 0x00200000
(read)

STATE_SYSTEM_SELECTED

STATE_SYSTEM_SELECTED:Number = 0x00000002
(read)

STATE_SYSTEM_SIZEABLE

STATE_SYSTEM_SIZEABLE:Number = 0x00020000
(read)

STATE_SYSTEM_UNAVAILABLE

STATE_SYSTEM_UNAVAILABLE:Number = 0x00000001
(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 Window with WindowAccImpl class

Instance methods

accLocation

function accLocation (
childId:Number) : Number

Parameters:
childId:
Number
Returns:
  • Location : Number

clickHandler

function clickHandler (
)

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

get_accRole

function get_accRole (
childId:Number) : Number

See also:
  • get_accRole

get_accState

function get_accState (
childId:Number) : Number

Parameters:
childId:
Number
Returns:
  • STATE : Number

getChildIdArray

function getChildIdArray (
) : Object

Returns:
  • Array

Event handlers

onRelease

function onRelease (
)