Main Page | Packages | Class Tree | Index | Help

mx.accessibility

class AlertAccImpl

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


class AlertAccImpl
extends WindowAccImpl

This is the accessibility class for Alert.

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.AlertAccImpl; AlertAccImpl.enableAccessibility();



Field Summary


_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_FOCUS: Number



EVENT_OBJECT_REORDER: Number



EVENT_OBJECT_SHOW: Number



master: Object



ROLE_SYSTEM_STATICTEXT: Number
Define all acessibility variables


STATE_SYSTEM_READONLY: Number


Fields inherited from class mx.accessibility.WindowAccImpl

_clickHandler, _onRelease, _parent, accHooked, back_mc, button_mc, children, content, EVENT_OBJECT_CREATE, EVENT_OBJECT_DESTROY, EVENT_OBJECT_LOCATIONCHANGE, master, owner, ROLE, ROLE_SYSTEM_DIALOG, ROLE_SYSTEM_PUSHBUTTON, ROLE_SYSTEM_TITLEBAR, STATE_SYSTEM_DEFAULT, STATE_SYSTEM_FOCUSABLE, STATE_SYSTEM_FOCUSED, STATE_SYSTEM_INVISIBLE, STATE_SYSTEM_MOVEABLE, STATE_SYSTEM_OFFSCREEN, STATE_SYSTEM_SELECTABLE, STATE_SYSTEM_SELECTED, STATE_SYSTEM_SIZEABLE, STATE_SYSTEM_UNAVAILABLE

Fields inherited from class mx.accessibility.AccImpl

_accImpl, master, ROLE, STATE_SYSTEM_NORMAL, stub

Fields inherited from class Object

__proto__, constructor, prototype

Constructor


AlertAccImpl ( master: 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 Alert with AlertAccImpl class


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

Methods inherited from class mx.accessibility.WindowAccImpl

accLocation, clickHandler, createAccessibilityImplementation, enableAccessibility, get_accName, get_accRole, get_accState, getChildIdArray, hookAccessibility, onRelease

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

_parent

var _parent: MovieClip

accHooked

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

This is used for initializing AlertAccImpl 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_FOCUS

var EVENT_OBJECT_FOCUS: Number

EVENT_OBJECT_REORDER

var EVENT_OBJECT_REORDER: Number

EVENT_OBJECT_SHOW

var EVENT_OBJECT_SHOW: Number

master

var master: Object

ROLE_SYSTEM_STATICTEXT

var ROLE_SYSTEM_STATICTEXT: Number
Define all acessibility variables

STATE_SYSTEM_READONLY

var STATE_SYSTEM_READONLY: Number

Constructor Documentation

AlertAccImpl

function AlertAccImpl(master: Object)

Method Documentation

accLocation

function accLocation(childId: Number): Number
Overrides:

Parameters:
childId
: Number
Returns:
Location : Number

clickHandler

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

Overrides:

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

Overrides:

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

Overrides:

See also:

get_accName

function get_accName(childId: Number): String
Overrides:

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
Overrides:

Parameters:
childId
: Number
Returns:
STATE : Number

getChildIdArray

function getChildIdArray(): Object
Overrides:

Returns:
Array

hookAccessibility

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

Overrides:

onRelease

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

Overrides:


The documentation was generated from the following file:


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