Main Page | Packages | Class Tree | Index | Help

mx.accessibility

class DataGridAccImpl

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


class DataGridAccImpl
extends AccImpl

This is the accessibility class for DataGrid.

This class inherits from the AccImpl If accessibility has to be enabled in a DataGrid, the following code should be written in the first frame of the FLA file import mx.accessibility.DataGridAccImpl; DataGridAccImpl.enableAccessibility();



Field Summary


__vPosition: Number
variables from the main ScrollSelectList class.


_editField: Function



_selectRow: Function



_setFocusedCell: Function


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


children: Array
children array for getting childIds


columns: Array



editable: Boolean



enabled: Boolean



EVENT_OBJECT_SELECTION: Number



EVENT_OBJECT_SELECTIONADD: Number



EVENT_OBJECT_SELECTIONREMOVE: Number



EVENT_OBJECT_SELECTIONWITHIN: Number



getColumnCount: Function



getColumnIndex: Function



getColumnNames: Function



getFocusedCell: Function



isSelected: Function
Define functions which would point to main class functions


master: Object



multipleSelection: Boolean



owner: Object
in d336, we need to do this to force the datagrid to be created before the accimpl


ROLE: Number



ROLE_SYSTEM_CELL: Number



ROLE_SYSTEM_COLUMNHEADER: Number



ROLE_SYSTEM_LISTITEM: Number



ROLE_SYSTEM_ROW: Number



STATE_SYSTEM_INVISIBLE: Number



STATE_SYSTEM_OFFSCREEN: Number



STATE_SYSTEM_SELECTABLE: Number



STATE_SYSTEM_SELECTED: Number



STATE_SYSTEM_UNAVAILABLE: Number
define all the states ListItems can have according to MSAA

Fields inherited from class mx.accessibility.AccImpl

_accImpl, master, ROLE, STATE_SYSTEM_NORMAL, stub

Fields inherited from class Object

__proto__, constructor, prototype

Constructor


DataGridAccImpl ( master: Object)


Method Summary


accLocation ( childId: Number ): Number



createAccessibilityImplementation ( )
Method for creating Accessibility class.


editField ( index, colName, data )
function onSetFocus() { } over riding main class functions for emiting events

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_accFocus ( ): Number



get_accName ( childId: Number ): String



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


get_accSelection ( ): Array



get_accState ( childId: Number ): Number



getChildIdArray ( ): Array


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


selectRow ( rowIndex: Number ): String



setFocusedCell ( coord, broadCast )


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

__vPosition

var __vPosition: Number
variables from the main ScrollSelectList class.

Defining to compile

_editField

var _editField: Function

_selectRow

var _selectRow: Function

_setFocusedCell

var _setFocusedCell: Function

accessibilityHooked

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

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

children

var children: Array
children array for getting childIds

columns

var columns: Array

editable

var editable: Boolean

enabled

var enabled: Boolean

EVENT_OBJECT_SELECTION

var EVENT_OBJECT_SELECTION: Number

EVENT_OBJECT_SELECTIONADD

var EVENT_OBJECT_SELECTIONADD: Number

EVENT_OBJECT_SELECTIONREMOVE

var EVENT_OBJECT_SELECTIONREMOVE: Number

EVENT_OBJECT_SELECTIONWITHIN

var EVENT_OBJECT_SELECTIONWITHIN: Number

getColumnCount

var getColumnCount: Function

getColumnIndex

var getColumnIndex: Function

getColumnNames

var getColumnNames: Function

getFocusedCell

var getFocusedCell: Function

isSelected

var isSelected: Function
Define functions which would point to main class functions

master

var master: Object

multipleSelection

var multipleSelection: Boolean

owner

var owner: Object
in d336, we need to do this to force the datagrid to be created before the accimpl

ROLE

var ROLE: Number

ROLE_SYSTEM_CELL

var ROLE_SYSTEM_CELL: Number

ROLE_SYSTEM_COLUMNHEADER

var ROLE_SYSTEM_COLUMNHEADER: Number

ROLE_SYSTEM_LISTITEM

var ROLE_SYSTEM_LISTITEM: Number

ROLE_SYSTEM_ROW

var ROLE_SYSTEM_ROW: Number

STATE_SYSTEM_INVISIBLE

var STATE_SYSTEM_INVISIBLE: 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_UNAVAILABLE

var STATE_SYSTEM_UNAVAILABLE: Number
define all the states ListItems can have according to MSAA


Constructor Documentation

DataGridAccImpl

function DataGridAccImpl(master: Object)

Method Documentation

accLocation

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

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

editField

function editField(index,
 colName,
 data)
function onSetFocus() { } over riding main class functions for emiting events

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_accFocus

function get_accFocus(): Number
Returns:
childId : Number

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_accSelection

function get_accSelection(): Array
Returns:
childId Array : Array

get_accState

function get_accState(childId: Number): Number
Parameters:
childId
: Number
Returns:
STATE : Number

getChildIdArray

function getChildIdArray(): Array
Returns:
Array

hookAccessibility

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

selectRow

function selectRow(rowIndex: Number): String

setFocusedCell

function setFocusedCell(coord,
 broadCast)

The documentation was generated from the following file:


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