DataGridAccImpl

Kind of class:class
Inherits from:AccImpl < Object
Classpath:mx.accessibility.DataGridAccImpl
File last modified:Tuesday, 18 December 2007, 15:44:37
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();

Summary


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

Constructor

DataGridAccImpl

function DataGridAccImpl (
master:Object)

Class properties

accessibilityHooked

static accessibilityHooked:Boolean = hookAccessibility()
(read)

Instance properties

__vPosition

__vPosition:Number
(read)

_editField

_editField:Function
(read)

_selectRow

_selectRow:Function
(read)

_setFocusedCell

_setFocusedCell:Function
(read)

children

children:Array
(read)

columns

columns:Array
(read)

editable

editable:Boolean
(read)

enabled

enabled:Boolean
(read)

EVENT_OBJECT_SELECTION

EVENT_OBJECT_SELECTION:Number = 0x8006
(read)

EVENT_OBJECT_SELECTIONADD

EVENT_OBJECT_SELECTIONADD:Number = 0x8007
(read)

EVENT_OBJECT_SELECTIONREMOVE

EVENT_OBJECT_SELECTIONREMOVE:Number = 0x8008
(read)

EVENT_OBJECT_SELECTIONWITHIN

EVENT_OBJECT_SELECTIONWITHIN:Number = 0x8009
(read)

getColumnCount

getColumnCount:Function
(read)

getColumnIndex

getColumnIndex:Function
(read)

getColumnNames

getColumnNames:Function
(read)

getFocusedCell

getFocusedCell:Function
(read)

isSelected

isSelected:Function
(read)

master

master:Object
(read)

multipleSelection

multipleSelection:Boolean
(read)

owner

owner:Object = DataGrid
(read)

ROLE

ROLE:Number = 0x21
(read)

ROLE_SYSTEM_CELL

ROLE_SYSTEM_CELL:Number = 0x1d
(read)

ROLE_SYSTEM_COLUMNHEADER

ROLE_SYSTEM_COLUMNHEADER:Number = 0x19
(read)

ROLE_SYSTEM_LISTITEM

ROLE_SYSTEM_LISTITEM:Number = 0x22
(read)

ROLE_SYSTEM_ROW

ROLE_SYSTEM_ROW:Number = 0x1c
(read)

STATE_SYSTEM_INVISIBLE

STATE_SYSTEM_INVISIBLE:Number = 0x00008000
(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_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 DataGrid with DataGridAccImpl class

Instance methods

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)

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

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

selectRow

function selectRow (
rowIndex:Number) : String

setFocusedCell

function setFocusedCell (
coord, broadCast)