Main Page | Packages | Class Tree | Index | Help

mx.accessibility

class WindowAccImpl

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

All Known Subclasses: AlertAccImpl

class WindowAccImpl
extends AccImpl

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();



Field Summary


_clickHandler: Function



_onRelease: Function
defining functions which would be pointing to mainclass functions*


_parent: MovieClip


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


back_mc: MovieClip



button_mc: MovieClip



children: Array
define to compile


content: MovieClip



EVENT_OBJECT_CREATE: Number



EVENT_OBJECT_DESTROY: Number



EVENT_OBJECT_LOCATIONCHANGE: Number



master: Object



owner: Object



ROLE: Number
Define all acessibility variables


ROLE_SYSTEM_DIALOG: Number



ROLE_SYSTEM_PUSHBUTTON: Number



ROLE_SYSTEM_TITLEBAR: Number



STATE_SYSTEM_DEFAULT: Number



STATE_SYSTEM_FOCUSABLE: Number



STATE_SYSTEM_FOCUSED: Number



STATE_SYSTEM_INVISIBLE: Number



STATE_SYSTEM_MOVEABLE: Number



STATE_SYSTEM_OFFSCREEN: Number



STATE_SYSTEM_SELECTABLE: Number



STATE_SYSTEM_SELECTED: Number



STATE_SYSTEM_SIZEABLE: Number



STATE_SYSTEM_UNAVAILABLE: Number


Fields inherited from class mx.accessibility.AccImpl

_accImpl, master, ROLE, STATE_SYSTEM_NORMAL, stub

Fields inherited from class Object

__proto__, constructor, prototype

Constructor


WindowAccImpl ( m: Object)


Method Summary


accLocation ( childId: Number ): Number



clickHandler ( )
over riding the main class funciton to emit events


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



get_accRole ( childId: Number ): Number
Returns the System ROLE for the component


get_accState ( childId: Number ): Number



getChildIdArray ( ): Object


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


onRelease ( )
over riding the main class funciton to emit 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

_clickHandler

var _clickHandler: Function

_onRelease

var _onRelease: Function
defining functions which would be pointing to mainclass functions*

_parent

var _parent: MovieClip

accHooked

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

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

back_mc

var back_mc: MovieClip

button_mc

var button_mc: MovieClip

children

var children: Array
define to compile

content

var content: MovieClip

EVENT_OBJECT_CREATE

var EVENT_OBJECT_CREATE: Number

EVENT_OBJECT_DESTROY

var EVENT_OBJECT_DESTROY: Number

EVENT_OBJECT_LOCATIONCHANGE

var EVENT_OBJECT_LOCATIONCHANGE: Number

master

var master: Object

owner

var owner: Object

ROLE

var ROLE: Number
Define all acessibility variables

ROLE_SYSTEM_DIALOG

var ROLE_SYSTEM_DIALOG: Number

ROLE_SYSTEM_PUSHBUTTON

var ROLE_SYSTEM_PUSHBUTTON: Number

ROLE_SYSTEM_TITLEBAR

var ROLE_SYSTEM_TITLEBAR: Number

STATE_SYSTEM_DEFAULT

var STATE_SYSTEM_DEFAULT: Number

STATE_SYSTEM_FOCUSABLE

var STATE_SYSTEM_FOCUSABLE: Number

STATE_SYSTEM_FOCUSED

var STATE_SYSTEM_FOCUSED: Number

STATE_SYSTEM_INVISIBLE

var STATE_SYSTEM_INVISIBLE: Number

STATE_SYSTEM_MOVEABLE

var STATE_SYSTEM_MOVEABLE: Number

STATE_SYSTEM_OFFSCREEN

var STATE_SYSTEM_OFFSCREEN: Number

STATE_SYSTEM_SELECTABLE

var STATE_SYSTEM_SELECTABLE: Number

STATE_SYSTEM_SELECTED

var STATE_SYSTEM_SELECTED: Number

STATE_SYSTEM_SIZEABLE

var STATE_SYSTEM_SIZEABLE: Number

STATE_SYSTEM_UNAVAILABLE

var STATE_SYSTEM_UNAVAILABLE: Number

Constructor Documentation

WindowAccImpl

function WindowAccImpl(m: Object)

Method Documentation

accLocation

function accLocation(childId: Number): Number
Parameters:
childId
: Number
Returns:
Location : Number

clickHandler

function clickHandler()
over riding the main class funciton to emit events

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
: Number
Returns:
Name : String

get_accRole

function get_accRole(childId: Number): Number
Returns the System ROLE for the component

Overrides:

Parameters:
childId
: String
Returns:
ROLE : 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

hookAccessibility

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

onRelease

function onRelease()
over riding the main class funciton to emit events


The documentation was generated from the following file:


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