Packagemx.accessibility
Classpublic class AccImpl
Subclasses AccordionHeaderAccImpl, ButtonAccImpl, ComboBaseAccImpl, DateChooserAccImpl, DateFieldAccImpl, ListBaseAccImpl, MenuBarAccImpl, PanelAccImpl, TabBarAccImpl, TreeAccImpl

The AccImpl class is the base class for accessibility in components. AccImpl supports system roles, object based events, and states.



Protected Properties
 PropertyDefined By
  eventsToHandle : Array
[read-only] All subclasses must override this function by returning an array of strings of the events to listen for.
AccImpl
  master : UIComponent
A reference to the UIComponent instance that this AccImpl instance is making accessible.
AccImpl
  role : uint
Accessibility Role of the component being made accessible.
AccImpl
Public Methods
 MethodDefined By
  
Constructor.
AccImpl
  
[static] Method call for enabling accessibility for a component.
AccImpl
Protected Methods
 MethodDefined By
  
Generic event handler.
AccImpl
  
getName(childID:uint):String
Returns the name of the accessible component.
AccImpl
  
getState(childID:uint):uint
Utility method determines state of the accessible component.
AccImpl
Property Detail
eventsToHandleproperty
eventsToHandle:Array  [read-only]

All subclasses must override this function by returning an array of strings of the events to listen for.


Implementation
    protected function get eventsToHandle():Array
masterproperty 
protected var master:UIComponent

A reference to the UIComponent instance that this AccImpl instance is making accessible.

roleproperty 
protected var role:uint

Accessibility Role of the component being made accessible.

Constructor Detail
AccImpl()Constructor
public function AccImpl(master:UIComponent)

Constructor.

Parameters
master:UIComponent — The UIComponent instance that this AccImpl instance is making accessible.
Method Detail
enableAccessibility()method
public static function enableAccessibility():void

Method call for enabling accessibility for a component. This method is required for the compiler to activate the accessibility classes for a component.

eventHandler()method 
protected function eventHandler(event:Event):void

Generic event handler. All AccImpl subclasses must implement this to listen for events from its master component.

Parameters

event:Event

getName()method 
protected function getName(childID:uint):String

Returns the name of the accessible component. All subclasses must implement this instead of implementing get_accName.

Parameters

childID:uint

Returns
String
getState()method 
protected function getState(childID:uint):uint

Utility method determines state of the accessible component.

Parameters

childID:uint

Returns
uint




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/mx/accessibility/AccImpl.html