Adobe® Flash® Platform 用 ActionScript® 3.0 リファレンスガイド
ホーム  |  パッケージおよびクラスリストの非表示 |  パッケージ  |  クラス  |  新機能  |  索引  |  付録  |  英語で表示される理由
フィルター: AIR 30.0 以前, Flash Player 30.0 以前, Flash Lite 4
Flex 4.6 以前, Flash Pro CS6 以前
フィルターを非表示
flash.accessibility 

AccessibilityImplementation  - AS3

パッケージx

トップレベル
adobe.utils
air.desktop
air.net
air.update
air.update.events
coldfusion.air
coldfusion.air.errors
coldfusion.air.events
coldfusion.service
coldfusion.service.events
coldfusion.service.mxml
com.adobe.acm.solutions.authoring.domain.extensions
com.adobe.acm.solutions.ccr.domain.extensions
com.adobe.consulting.pst.vo
com.adobe.dct.component
com.adobe.dct.component.datadictionary
com.adobe.dct.component.datadictionaryElement
com.adobe.dct.component.dataElementsPanel
com.adobe.dct.component.toolbars
com.adobe.dct.event
com.adobe.dct.exp
com.adobe.dct.model
com.adobe.dct.service
com.adobe.dct.service.provider
com.adobe.dct.transfer
com.adobe.dct.util
com.adobe.dct.view
com.adobe.ep.taskmanagement.domain
com.adobe.ep.taskmanagement.event
com.adobe.ep.taskmanagement.filter
com.adobe.ep.taskmanagement.services
com.adobe.ep.taskmanagement.util
com.adobe.ep.ux.attachmentlist.component
com.adobe.ep.ux.attachmentlist.domain
com.adobe.ep.ux.attachmentlist.domain.events
com.adobe.ep.ux.attachmentlist.domain.renderers
com.adobe.ep.ux.attachmentlist.skin
com.adobe.ep.ux.attachmentlist.skin.renderers
com.adobe.ep.ux.content.event
com.adobe.ep.ux.content.factory
com.adobe.ep.ux.content.handlers
com.adobe.ep.ux.content.managers
com.adobe.ep.ux.content.model.asset
com.adobe.ep.ux.content.model.preview
com.adobe.ep.ux.content.model.relation
com.adobe.ep.ux.content.model.search
com.adobe.ep.ux.content.model.toolbar
com.adobe.ep.ux.content.search
com.adobe.ep.ux.content.services
com.adobe.ep.ux.content.services.load
com.adobe.ep.ux.content.services.permissions
com.adobe.ep.ux.content.services.preview
com.adobe.ep.ux.content.services.providers
com.adobe.ep.ux.content.services.query
com.adobe.ep.ux.content.services.relationships
com.adobe.ep.ux.content.services.search.lccontent
com.adobe.ep.ux.content.services.version
com.adobe.ep.ux.content.view
com.adobe.ep.ux.content.view.components.activate
com.adobe.ep.ux.content.view.components.grid
com.adobe.ep.ux.content.view.components.grid.hover
com.adobe.ep.ux.content.view.components.grid.hover.component
com.adobe.ep.ux.content.view.components.grid.renderers
com.adobe.ep.ux.content.view.components.relationships
com.adobe.ep.ux.content.view.components.review
com.adobe.ep.ux.content.view.components.search.renderers
com.adobe.ep.ux.content.view.components.searchpod
com.adobe.ep.ux.content.view.components.toolbar
com.adobe.ep.ux.content.view.components.toolbar.controlRenderers
com.adobe.ep.ux.content.view.components.version
com.adobe.ep.ux.documentsubmit.component
com.adobe.ep.ux.documentsubmit.domain
com.adobe.ep.ux.documentsubmit.skin
com.adobe.ep.ux.taskaction.component
com.adobe.ep.ux.taskaction.domain
com.adobe.ep.ux.taskaction.domain.events
com.adobe.ep.ux.taskaction.skin
com.adobe.ep.ux.taskdetails.component
com.adobe.ep.ux.taskdetails.domain
com.adobe.ep.ux.taskdetails.skin
com.adobe.ep.ux.tasklist.component
com.adobe.ep.ux.tasklist.domain
com.adobe.ep.ux.tasklist.skin
com.adobe.ep.ux.webdocumentviewer.domain
com.adobe.exm.expression
com.adobe.exm.expression.error
com.adobe.exm.expression.event
com.adobe.exm.expression.impl
com.adobe.fiber.runtime.lib
com.adobe.fiber.services
com.adobe.fiber.services.wrapper
com.adobe.fiber.styles
com.adobe.fiber.util
com.adobe.fiber.valueobjects
com.adobe.gravity.binding
com.adobe.gravity.context
com.adobe.gravity.flex.bundleloader
com.adobe.gravity.flex.progress
com.adobe.gravity.flex.serviceloader
com.adobe.gravity.framework
com.adobe.gravity.init
com.adobe.gravity.service.bundleloader
com.adobe.gravity.service.logging
com.adobe.gravity.service.manifest
com.adobe.gravity.service.progress
com.adobe.gravity.tracker
com.adobe.gravity.ui
com.adobe.gravity.utility
com.adobe.gravity.utility.async
com.adobe.gravity.utility.error
com.adobe.gravity.utility.events
com.adobe.gravity.utility.factory
com.adobe.gravity.utility.flex.async
com.adobe.gravity.utility.logging
com.adobe.gravity.utility.message
com.adobe.gravity.utility.sequence
com.adobe.gravity.utility.url
com.adobe.guides.control
com.adobe.guides.domain
com.adobe.guides.i18n
com.adobe.guides.spark.components.skins
com.adobe.guides.spark.components.skins.mx
com.adobe.guides.spark.headers.components
com.adobe.guides.spark.headers.skins
com.adobe.guides.spark.layouts.components
com.adobe.guides.spark.layouts.skins
com.adobe.guides.spark.navigators.components
com.adobe.guides.spark.navigators.renderers
com.adobe.guides.spark.navigators.skins
com.adobe.guides.spark.util
com.adobe.guides.spark.wrappers.components
com.adobe.guides.spark.wrappers.skins
com.adobe.guides.submit
com.adobe.icc.dc.domain
com.adobe.icc.dc.domain.factory
com.adobe.icc.editors.events
com.adobe.icc.editors.handlers
com.adobe.icc.editors.managers
com.adobe.icc.editors.model
com.adobe.icc.editors.model.config
com.adobe.icc.editors.model.el
com.adobe.icc.editors.model.el.operands
com.adobe.icc.editors.model.el.operators
com.adobe.icc.enum
com.adobe.icc.external.dc
com.adobe.icc.obj
com.adobe.icc.services
com.adobe.icc.services.category
com.adobe.icc.services.config
com.adobe.icc.services.download
com.adobe.icc.services.export
com.adobe.icc.services.external
com.adobe.icc.services.formbridge
com.adobe.icc.services.fragmentlayout
com.adobe.icc.services.layout
com.adobe.icc.services.letter
com.adobe.icc.services.locator
com.adobe.icc.services.module
com.adobe.icc.services.render
com.adobe.icc.services.submit
com.adobe.icc.services.user
com.adobe.icc.token
com.adobe.icc.vo
com.adobe.icc.vo.render
com.adobe.icomm.assetplacement.controller
com.adobe.icomm.assetplacement.controller.utils
com.adobe.icomm.assetplacement.data
com.adobe.icomm.assetplacement.model
com.adobe.livecycle.assetmanager.client
com.adobe.livecycle.assetmanager.client.event
com.adobe.livecycle.assetmanager.client.handler
com.adobe.livecycle.assetmanager.client.managers
com.adobe.livecycle.assetmanager.client.model
com.adobe.livecycle.assetmanager.client.model.cms
com.adobe.livecycle.assetmanager.client.service
com.adobe.livecycle.assetmanager.client.service.search
com.adobe.livecycle.assetmanager.client.service.search.cms
com.adobe.livecycle.assetmanager.client.utils
com.adobe.livecycle.content
com.adobe.livecycle.rca.model
com.adobe.livecycle.rca.model.constant
com.adobe.livecycle.rca.model.document
com.adobe.livecycle.rca.model.participant
com.adobe.livecycle.rca.model.reminder
com.adobe.livecycle.rca.model.stage
com.adobe.livecycle.rca.service
com.adobe.livecycle.rca.service.core
com.adobe.livecycle.rca.service.core.delegate
com.adobe.livecycle.rca.service.process
com.adobe.livecycle.rca.service.process.delegate
com.adobe.livecycle.rca.token
com.adobe.livecycle.ria.security.api
com.adobe.livecycle.ria.security.service
com.adobe.mosaic.layouts
com.adobe.mosaic.layouts.dragAndDrop
com.adobe.mosaic.layouts.interfaces
com.adobe.mosaic.mxml
com.adobe.mosaic.om.constants
com.adobe.mosaic.om.events
com.adobe.mosaic.om.impl
com.adobe.mosaic.om.interfaces
com.adobe.mosaic.skinning
com.adobe.mosaic.sparklib.editors
com.adobe.mosaic.sparklib.optionMenu
com.adobe.mosaic.sparklib.scrollableMenu
com.adobe.mosaic.sparklib.scrollableMenu.skins
com.adobe.mosaic.sparklib.tabLayout
com.adobe.mosaic.sparklib.tabLayout.events
com.adobe.mosaic.sparklib.tabLayout.layouts
com.adobe.mosaic.sparklib.tabLayout.skins
com.adobe.mosaic.sparklib.text
com.adobe.mosaic.sparklib.util
com.adobe.solutions.acm.authoring.presentation
com.adobe.solutions.acm.authoring.presentation.actionbar
com.adobe.solutions.acm.authoring.presentation.common
com.adobe.solutions.acm.authoring.presentation.events
com.adobe.solutions.acm.authoring.presentation.fragment
com.adobe.solutions.acm.authoring.presentation.letter
com.adobe.solutions.acm.authoring.presentation.letter.data
com.adobe.solutions.acm.authoring.presentation.preview
com.adobe.solutions.acm.authoring.presentation.rte
com.adobe.solutions.acm.ccr.presentation
com.adobe.solutions.acm.ccr.presentation.contentcapture
com.adobe.solutions.acm.ccr.presentation.contentcapture.events
com.adobe.solutions.acm.ccr.presentation.contentcapture.preview
com.adobe.solutions.acm.ccr.presentation.datacapture
com.adobe.solutions.acm.ccr.presentation.datacapture.renderers
com.adobe.solutions.acm.ccr.presentation.pdf
com.adobe.solutions.exm
com.adobe.solutions.exm.authoring
com.adobe.solutions.exm.authoring.components.controls
com.adobe.solutions.exm.authoring.components.toolbars
com.adobe.solutions.exm.authoring.domain
com.adobe.solutions.exm.authoring.domain.expression
com.adobe.solutions.exm.authoring.domain.impl
com.adobe.solutions.exm.authoring.domain.method
com.adobe.solutions.exm.authoring.domain.variable
com.adobe.solutions.exm.authoring.enum
com.adobe.solutions.exm.authoring.events
com.adobe.solutions.exm.authoring.model
com.adobe.solutions.exm.authoring.renderer
com.adobe.solutions.exm.authoring.view
com.adobe.solutions.exm.expression
com.adobe.solutions.exm.impl
com.adobe.solutions.exm.impl.method
com.adobe.solutions.exm.method
com.adobe.solutions.exm.mock
com.adobe.solutions.exm.mock.method
com.adobe.solutions.exm.runtime
com.adobe.solutions.exm.runtime.impl
com.adobe.solutions.exm.variable
com.adobe.solutions.prm.constant
com.adobe.solutions.prm.domain
com.adobe.solutions.prm.domain.factory
com.adobe.solutions.prm.domain.impl
com.adobe.solutions.prm.domain.manager
com.adobe.solutions.prm.presentation.asset
com.adobe.solutions.prm.presentation.constant
com.adobe.solutions.prm.presentation.document
com.adobe.solutions.prm.presentation.event
com.adobe.solutions.prm.presentation.file
com.adobe.solutions.prm.presentation.project
com.adobe.solutions.prm.presentation.team
com.adobe.solutions.prm.presentation.util
com.adobe.solutions.prm.service
com.adobe.solutions.prm.services.impl
com.adobe.solutions.prm.vo
com.adobe.solutions.rca.constant
com.adobe.solutions.rca.domain
com.adobe.solutions.rca.domain.common
com.adobe.solutions.rca.domain.factory
com.adobe.solutions.rca.domain.impl
com.adobe.solutions.rca.domain.impl.manager
com.adobe.solutions.rca.domain.manager
com.adobe.solutions.rca.presentation
com.adobe.solutions.rca.presentation.comment
com.adobe.solutions.rca.presentation.constant
com.adobe.solutions.rca.presentation.event
com.adobe.solutions.rca.presentation.gantt
com.adobe.solutions.rca.presentation.gantt.ruler
com.adobe.solutions.rca.presentation.template
com.adobe.solutions.rca.presentation.template.audit
com.adobe.solutions.rca.presentation.template.definition
com.adobe.solutions.rca.presentation.template.documents
com.adobe.solutions.rca.presentation.template.stages
com.adobe.solutions.rca.presentation.util
com.adobe.solutions.rca.service
com.adobe.solutions.rca.services.impl
com.adobe.solutions.rca.vo
com.adobe.solutions.rca.vo.um
com.adobe.viewsource
fl.accessibility
fl.containers
fl.controls
fl.controls.dataGridClasses
fl.controls.listClasses
fl.controls.progressBarClasses
fl.core
fl.data
fl.display
fl.events
fl.ik
fl.lang
fl.livepreview
fl.managers
fl.motion
fl.motion.easing
fl.rsl
fl.text
fl.transitions
fl.transitions.easing
fl.video
flash.accessibility
flash.concurrent
flash.crypto
flash.data
flash.desktop
flash.display
flash.display3D
flash.display3D.textures
flash.errors
flash.events
flash.external
flash.filesystem
flash.filters
flash.geom
flash.globalization
flash.html
flash.media
flash.net
flash.net.dns
flash.net.drm
flash.notifications
flash.permissions
flash.printing
flash.profiler
flash.sampler
flash.security
flash.sensors
flash.system
flash.text
flash.text.engine
flash.text.ime
flash.ui
flash.utils
flash.xml
flashx.textLayout
flashx.textLayout.compose
flashx.textLayout.container
flashx.textLayout.conversion
flashx.textLayout.edit
flashx.textLayout.elements
flashx.textLayout.events
flashx.textLayout.factory
flashx.textLayout.formats
flashx.textLayout.operations
flashx.textLayout.utils
flashx.undo
ga.controls
ga.layouts
ga.model
ga.uiComponents
ga.util
ga.views
ga.wrappers
lc.foundation
lc.foundation.domain
lc.foundation.events
lc.foundation.ui
lc.foundation.util
lc.preloader
lc.procmgmt
lc.procmgmt.commands
lc.procmgmt.domain
lc.procmgmt.events
lc.procmgmt.formbridge
lc.procmgmt.impl
lc.procmgmt.ui.attachments
lc.procmgmt.ui.controls
lc.procmgmt.ui.controls.card
lc.procmgmt.ui.controls.renderer
lc.procmgmt.ui.help
lc.procmgmt.ui.layout
lc.procmgmt.ui.presentationmodel
lc.procmgmt.ui.process
lc.procmgmt.ui.search
lc.procmgmt.ui.startpoint
lc.procmgmt.ui.task
lc.procmgmt.ui.task.form
lc.procmgmt.ui.task.form.commands
lc.procmgmt.ui.tracking
mx.accessibility
mx.automation
mx.automation.air
mx.automation.delegates
mx.automation.delegates.advancedDataGrid
mx.automation.delegates.charts
mx.automation.delegates.containers
mx.automation.delegates.controls
mx.automation.delegates.controls.dataGridClasses
mx.automation.delegates.controls.fileSystemClasses
mx.automation.delegates.core
mx.automation.delegates.flashflexkit
mx.automation.events
mx.binding
mx.binding.utils
mx.charts
mx.charts.chartClasses
mx.charts.effects
mx.charts.effects.effectClasses
mx.charts.events
mx.charts.renderers
mx.charts.series
mx.charts.series.items
mx.charts.series.renderData
mx.charts.styles
mx.collections
mx.collections.errors
mx.containers
mx.containers.accordionClasses
mx.containers.dividedBoxClasses
mx.containers.errors
mx.containers.utilityClasses
mx.controls
mx.controls.advancedDataGridClasses
mx.controls.dataGridClasses
mx.controls.listClasses
mx.controls.menuClasses
mx.controls.olapDataGridClasses
mx.controls.scrollClasses
mx.controls.sliderClasses
mx.controls.textClasses
mx.controls.treeClasses
mx.controls.videoClasses
mx.core
mx.core.windowClasses
mx.data
mx.data.crypto
mx.data.errors
mx.data.events
mx.data.messages
mx.data.mxml
mx.data.offline.errors
mx.data.utils
mx.effects
mx.effects.easing
mx.effects.effectClasses
mx.events
mx.filters
mx.flash
mx.formatters
mx.geom
mx.graphics
mx.graphics.codec
mx.graphics.shaderClasses
mx.logging
mx.logging.errors
mx.logging.targets
mx.managers
mx.messaging
mx.messaging.channels
mx.messaging.config
mx.messaging.errors
mx.messaging.events
mx.messaging.management
mx.messaging.messages
mx.modules
mx.netmon
mx.olap
mx.olap.aggregators
mx.preloaders
mx.printing
mx.resources
mx.rpc
mx.rpc.events
mx.rpc.http
mx.rpc.http.mxml
mx.rpc.livecycle
mx.rpc.mxml
mx.rpc.remoting
mx.rpc.remoting.mxml
mx.rpc.soap
mx.rpc.soap.mxml
mx.rpc.wsdl
mx.rpc.xml
mx.skins
mx.skins.halo
mx.skins.spark
mx.skins.wireframe
mx.skins.wireframe.windowChrome
mx.states
mx.styles
mx.utils
mx.validators
org.osmf.containers
org.osmf.display
org.osmf.elements
org.osmf.events
org.osmf.layout
org.osmf.logging
org.osmf.media
org.osmf.metadata
org.osmf.net
org.osmf.net.dvr
org.osmf.net.httpstreaming
org.osmf.net.metrics
org.osmf.net.qos
org.osmf.net.rtmpstreaming
org.osmf.net.rules
org.osmf.traits
org.osmf.utils
spark.accessibility
spark.automation.delegates
spark.automation.delegates.components
spark.automation.delegates.components.gridClasses
spark.automation.delegates.components.mediaClasses
spark.automation.delegates.components.supportClasses
spark.automation.delegates.skins.spark
spark.automation.events
spark.collections
spark.components
spark.components.calendarClasses
spark.components.gridClasses
spark.components.mediaClasses
spark.components.supportClasses
spark.components.windowClasses
spark.core
spark.effects
spark.effects.animation
spark.effects.easing
spark.effects.interpolation
spark.effects.supportClasses
spark.events
spark.filters
spark.formatters
spark.formatters.supportClasses
spark.globalization
spark.globalization.supportClasses
spark.layouts
spark.layouts.supportClasses
spark.managers
spark.modules
spark.preloaders
spark.primitives
spark.primitives.supportClasses
spark.skins
spark.skins.mobile
spark.skins.mobile.supportClasses
spark.skins.spark
spark.skins.spark.mediaClasses.fullScreen
spark.skins.spark.mediaClasses.normal
spark.skins.spark.windowChrome
spark.skins.wireframe
spark.skins.wireframe.mediaClasses
spark.skins.wireframe.mediaClasses.fullScreen
spark.transitions
spark.utils
spark.validators
spark.validators.supportClasses
xd.core.axm.enterprise.view.components
xd.core.axm.enterprise.view.skins
xd.core.axm.view.components
xd.core.axm.view.components.support

言語エレメント

グローバル定数
グローバル関数
演算子
ステートメント、キーワード、ディレクティブ
特殊な型

付録

新機能
コンパイルエラー
コンパイラー警告
ランタイムエラー
ActionScript 3 への移行
サポートされている文字セット
MXML のみのタグ
モーション XML エレメント
Timed Text タグ
使用されなくなったエレメントのリスト
Accessibility Implementation 定数
ActionScript の例の使用方法
法律上の注意
パッケージflash.accessibility
クラスpublic class AccessibilityImplementation
継承AccessibilityImplementation Inheritance Object
サブクラス AccImpl, AccImpl

ランタイムバージョン: Flash Player 9, AIR 2

AccessibilityImplementation クラスは、コンポーネントでアクセシビリティを実装することを目的とした Flash Player の基本クラスです。このクラスはコンポーネントとスクリーンリーダー間の通信を可能にします。スクリーンリーダーは視覚障害者のために画面コンテンツを合成音または点字に変換します。

AccessibilityImplementation クラスのメソッドを使用することで、システムロール、オブジェクトベースのイベント、ステートなどに関する情報をコンポーネントから補助テクノロジーに提供できるようになります。

Adobe Flash Player では、Microsoft Active Accessibility(MSAA)が使用されます。MSAA は、アプリケーションとスクリーンリーダーの間の通信方法を記述した標準的方式です。Flash Player と MSAA の連携方法について詳しくは、『Using Flex SDK』のアクセシビリティに関する章を参照してください。

AccessibilityImplementation クラスのメソッドは、コンポーネントインスタンスの IAccessible インターフェイスのサブセットです。

AccessibilityImplementation が IAccessible インターフェイスを実装する方法および送信するイベントは、実装するコンポーネントの種類によって異なります。

コンストラクターを呼び出して AccessibilityImplementation を直接インスタンス化しないでください。代わりに、新しいコンポーネントごとに AccImpl クラスを拡張して、新しいアクセシビリティの実装を作成してください。Flash で、fl.accessibility パッケージを参照してください。Flex で、mx.accessibility パッケージおよび『Using Flex SDK』のアクセシビリティに関する章を参照してください。

注意:AccessibilityImplementation クラスは、AIR 2 より前の AIR ランタイムバージョンではサポートされていません。このクラスは、AIR 2 より前の AIR バージョンのコンパイルで使用できますが、AIR 2 より前のランタイムではサポートされていません。



パブリックプロパティ
 プロパティ定義元
 Inheritedconstructor : Object
指定されたオブジェクトインスタンスのクラスオブジェクトまたはコンストラクター関数への参照です。
Object
  errno : uint
エラーコードを示します。
AccessibilityImplementation
  stub : Boolean
コンポーネントのアクセシビリティスタブを作成するために使用されます。
AccessibilityImplementation
パブリックメソッド
 メソッド定義元
  
静的コンストラクターです。
AccessibilityImplementation
  
この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかに関連付けられているデフォルトアクションを実行する IAccessible メソッドです。
AccessibilityImplementation
  
accLocation(childID:uint):*
AccessibilityImplementation の子要素の境界ボックスを指定する DisplayObject または Rectangle を返すための MSAA メソッドです。
AccessibilityImplementation
  
accSelect(operation:uint, childID:uint):void
この AccessibilityImplementation が表すコンポーネント内の選択を変更するための IAccessible メソッドです。
AccessibilityImplementation
  
この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかのデフォルトアクションを返すための MSAA メソッドです。
AccessibilityImplementation
  
コンポーネント内に子フォーカスを持つ子要素がある場合に、その符号なし整数 ID を返す MSAA メソッドです。
AccessibilityImplementation
  
この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかの名前を返すための MSAA メソッドです。
AccessibilityImplementation
  
この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかのシステムロールを返すための MSAA メソッドです。
AccessibilityImplementation
  
選択されているすべての子要素の ID を含む配列を返すための MSAA メソッドです。
AccessibilityImplementation
  
この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかの現在のランタイム状態を返すための IAccessible メソッドです。
AccessibilityImplementation
  
この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかのランタイム値を返すための MSAA メソッドです。
AccessibilityImplementation
  
AccessibilityImplementation
  
AccessibilityImplementation
  
AccessibilityImplementation のすべての子要素の符号なし整数 ID を含む配列を返します。
AccessibilityImplementation
 Inherited
オブジェクトに指定されたプロパティが定義されているかどうかを示します。
Object
  
true または false を返して、x、y、width および height で指定されたバウンディングボックスを持つテキストオブジェクトを、この AccessibilityImplementation が表すコンポーネントのラベルと見なすかどうかを示します。
AccessibilityImplementation
 Inherited
Object クラスのインスタンスが、パラメーターとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。
Object
 Inherited
指定されたプロパティが存在し、列挙できるかどうかを示します。
Object
 Inherited
ループ処理に対するダイナミックプロパティの可用性を設定します。
Object
 Inherited
ロケール固有の規則に従って書式設定された、このオブジェクトのストリング表現を返します。
Object
 Inherited
指定されたオブジェクトのストリング表現を返します。
Object
 Inherited
指定されたオブジェクトのプリミティブな値を返します。
Object
プロパティの詳細

errno

プロパティ
public var errno:uint

ランタイムバージョン: Flash Player 9, AIR 2

エラーコードを示します。エラーは、戻り値とは別途に通知されます。エラーを通知するには、errno プロパティを、AccessibilityImplementation 定数の付録で説明されているエラーコードのいずれかに設定します。これにより戻り値は無視されます。AccessibilityImplementation の errno プロパティは、AccessibilityImplementation のメソッドが呼び出される前に Player によって毎回クリア(ゼロに設定)されます。

関連する API エレメント

stub

プロパティ 
public var stub:Boolean

ランタイムバージョン: Flash Player 9, AIR 2

コンポーネントのアクセシビリティスタブを作成するために使用されます。ActionScript アクセシビリティを実装せずにコンポーネントをリリースする場合、コンポーネントのアクセシビリティスタブを追加することをお勧めします。このスタブを追加すると、Flash Player はアクセシビリティを確保するために、コンポーネント内のボタンやテキストフィールドなどの内部構造を公開せず、コンポーネントを単純なグラフィックとして扱います。

コンポーネントのアクセシビリティスタブを作成するには、関連する AccImpl クラスのサブクラスを作成し、プロパティスタブを値 true でオーバーライドします。

関連する API エレメント

Flex の mx.accessibility.AccImpl クラス(¥sdks¥4.0.0¥frameworks¥projects¥framework¥src¥mx¥accessibility¥AccImpl.as)
Flash の fl.accessibility.AccImpl クラス(¥Local Settings¥Application Data¥Adobe¥Flash CS5¥ja_JP¥Configuration¥Classes¥mx¥accessibility¥AccImpl.as)
コンストラクターの詳細

AccessibilityImplementation

()コンストラクター
public function AccessibilityImplementation()

ランタイムバージョン: Flash Player 9, AIR 2

静的コンストラクターです。コンストラクターを呼び出して AccessibilityImplementation を直接インスタンス化しないでください。代わりに、新しいコンポーネントごとに の mx.accessibility.AccImpl クラスを拡張して、新しいアクセシビリティの実装を作成してください。

関連する API エレメント

メソッドの詳細

accDoDefaultAction

()メソッド
public function accDoDefaultAction(childID:uint):void

ランタイムバージョン: Flash Player 9, AIR 2

この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかに関連付けられているデフォルトアクションを実行する IAccessible メソッドです。

このメソッドは、AccessibilityImplementation が表す UI 要素に MSAA モデルのデフォルトアクションが存在する場合にのみ実装してください。

AccessibilityImplementation 自体に対してのみ、またはその子要素に対してのみ accDoDefaultAction() を実装する場合、状況によっては、渡された childID に対するデフォルトアクションが存在しないことを示す必要があります。その場合は、errno プロパティを E_MEMBERNOTFOUND に設定します。

パラメーター

childID:uintgetChildIDArray() で定義されている、コンポーネントの子要素のいずれかに対応する符号なし整数です。


例  ( この例の使用方法 )
次の例は、Flex の mx.accessibility.ListBaseAccImpl クラス(ListBase Accessibility Implementation)で適切なデフォルトアクションを実行するようにこのメソッドを実装する方法を示しています。ListBase とそれを継承するクラスの場合、子リストアイテム要素のいずれかに対してデフォルトアクション "Double Click" を実行すると、その要素が選択されます。
     override public function accDoDefaultAction(childID:uint):void
     {
         if (childID > 0)
             ListBase(master).selectedIndex = childID - 1;
     }

accLocation

()メソッド 
public function accLocation(childID:uint):*

ランタイムバージョン: Flash Player 9, AIR 2

AccessibilityImplementation の子要素の境界ボックスを指定する DisplayObject または Rectangle を返すための MSAA メソッドです。

このメソッドは、childID がゼロの場合には呼び出されません。AccessibilityImplementation に子要素が含まれない場合は、このメソッドを実装しないでください。AccessibilityImplementation が子要素を含む可能性がある場合、このメソッドは必須です。

通常は、子要素自体を表すオブジェクトを返すことにより、このメソッドの要件を満たすことができます。これは、子要素が DisplayObject である限り機能します。このような場合は、表示リスト内で該当するビジュアルオブジェクトに関連付けられたインスタンス名に対応する DisplayObject を返すだけで問題ありません。

子要素が上記の方法に適さない場合は、境界ボックスの計算を手動で行い、xywidthheight プロパティを指定して Rectangle を返すことができます。x および y メンバーは境界ボックスの左上隅の位置を示し、width および height メンバーは境界ボックスのサイズを示します。4 つのメンバーの単位はすべて Stage ピクセルであり、AccessibilityImplementation が表すコンポーネントの原点を基準として指定する必要があります。DisplayObject の原点は左上隅でなくてもよいので、x および y プロパティでは負の値を指定することもできます。

childID で指定されている子要素が非表示の場合(つまり、その子に対する get_accStateSTATE_SYSTEM_INVISIBLE を含む値を返す場合)、accLocation から null を返すことができます。また、子要素が表示された場合の座標を表す Rectangle を返すこともできます。

パラメーター

childID:uintgetChildIDArray() で定義されている、コンポーネントの子要素のいずれかに対応する符号なし整数です。

戻り値
*childID パラメーターで指定されている子要素の境界ボックスを指定する DisplayObject または Rectangle です。

詳細

関連する API エレメント


例  ( この例の使用方法 )
次の例は、Flex の mx.accessibility.ListBaseAccImpl クラス(ListBase Accessibility Implementation)で特定の子要素の場所を返すようにこのメソッドを実装する方法を示しています。
     override public function accLocation(childID:uint):*
     
     {
         var listBase:ListBase = ListBase(master);
     
         var index:uint = childID - 1;
         
         if (index < listBase.verticalScrollPosition ||
             index >= listBase.verticalScrollPosition + listBase.rowCount)
         {
             return null;
         }
         var item:Object = getItemAt(index);
     
         return listBase.itemToItemRenderer(item);
     }
     

accSelect

()メソッド 
public function accSelect(operation:uint, childID:uint):void

ランタイムバージョン: Flash Player 9, AIR 2

この AccessibilityImplementation が表すコンポーネント内の選択を変更するための IAccessible メソッドです。

childID パラメーターは常にゼロ以外の値になります。このメソッドは常にコンポーネント全体ではなく子要素に適用されます。コンポーネント全体の選択は Flash Player によって管理されます。

selFlag パラメーターは、childID で参照されているアイテムが選択される方法(フォーカスを取得する方法)を示すために MSAA クライアントで使用される 1 つ以上の選択フラグ定数で構成されるビットフィールドです。以下では、選択フラグ定数の概要について説明し、これらの定数によってアクセシビリティの実装に提供される情報について説明します。実際には、Flex の mx.accessibility.ListBaseAccImpl クラスを継承するアクセシビリティの実装に含まれるこのメソッドのほとんどの実装は selFlag 定数を無視し、代わりにコンポーネントのキーボード選択動作に基づいて複数選択を処理します。

selFlag パラメーターは、SELFLAG_TAKEFOCUS フラグを含む場合と、含まない場合があります。このフラグを含む場合は、指定された childID に子フォーカスを設定する必要があり、SELFLAG_EXTENDSELECTION も存在していない場合は、その子要素を選択アンカーにします。このフラグを含まない場合は、子フォーカスと選択アンカーを変更しないようにする必要があります。ただし、後で説明するその他のフラグを選択を変更することは可能です。

selFlag 引数は常に次の 4 つのフラグのいずれかを含みます。これらのフラグは、どのような種類の選択変更が必要であるかを示しています。

  • SELFLAG_TAKESELECTION:既存の選択をクリアし、選択対象を指定された childID に設定します。

  • SELFLAG_EXTENDSELECTION:選択アンカーと指定された childID の間(両方を含む)の子要素の範囲を計算します。SELFLAG_ADDSELECTION がある場合は、これらの子要素をすべて選択対象に追加します。SELFLAG_REMOVESELECTION がある場合は、これらの子要素をすべて選択対象から削除します。SELFLAG_ADDSELECTIONSELFLAG_REMOVESELECTION もない場合は、これらすべての子要素が選択アンカーの選択状態を引き継ぐ必要があります。選択アンカーが選択されている場合は、これらの子要素を選択対象に追加します。そうでない場合は、選択対象から削除します。

  • SELFLAG_ADDSELECTIONSELFLAG_EXTENDSELECTION なし):指定された childID を選択対象に追加します。

  • SELFLAG_REMOVESELECTIONSELFLAG_EXTENDSELECTION なし):指定された childID を選択対象から削除します。

複数選択が可能でないコンポーネントの場合、有効な selFlag パラメーター値は SELFLAG_TAKEFOCUSSELFLAG_TAKESELECTION だけであることに注意してください。理論的には、複数選択が不可能なコンポーネントの場合でも、ユーザーが強制的に null 選択を行えるコンポーネントに関しては SELFLAG_REMOVESELECTION をサポートできますが、実際にはそのように機能しないため、MSAA クライアントはこの種の操作を試みることができません。

無効と見なされるフラグを検出した場合は、errnoE_INVALIDARG に設定します。

また、accSelect が呼び出すと、Flash Player のホストフォーカス(コンテナアプリケーションのウィンドウフォーカス)が存在し、コンポーネントが Flash Player 内でフォーカスされていることが確認されます。

パラメーター

operation:uint — アイテムが選択される方法(フォーカスを取得する方法)を示す 1 つ以上の選択フラグ定数で構成されるビットフィールドです。
 
childID:uintgetChildIDArray() で定義されている、コンポーネントの子要素のいずれかに対応する符号なし整数です。

詳細

関連する API エレメント


例  ( この例の使用方法 )
次の例は、Flex の mx.accessibility.ListBaseAccImpl クラス(ListBase Accessibility Implementation)で子要素を選択するようにこのメソッドを実装する方法を示しています。
override public function accSelect(selFlag:uint, childID:uint):void
     {
         
         var listBase:ListBase = ListBase(master);
         
         var index:uint = childID - 1;
         
         if (index >= 0 && index < listBase.dataProvider.length)
             listBase.selectedIndex = index;
     }
     

get_accDefaultAction

()メソッド 
public function get_accDefaultAction(childID:uint):String

ランタイムバージョン: Flash Player 9, AIR 2

この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかのデフォルトアクションを返すための MSAA メソッドです。

このメソッドは、AccessibilityImplementation が表す UI 要素に MSAA モデルのデフォルトアクションが存在するる場合にのみ実装してください。また、MSAA モデルで指定されているとおりの文字列を返すように注意してください。例えば、Button コンポーネントのデフォルトアクション文字列は "Press" です。

AccessibilityImplementation 自体に対してのみ、またはその子要素に対してのみ get_accDefaultAction を実装する場合は、状況によっては、渡された childID に対するデフォルトアクションが存在しないことを示す必要があります。その場合は、単純に null を返します。

パラメーター

childID:uintgetChildIDArray() で定義されている、コンポーネントの子要素のいずれかに対応する符号なし整数です。

戻り値
String — AccessibilityImplementation またはその子要素のいずれかに対して MSAA モデルで指定されているデフォルトアクション文字列です。

詳細

関連する API エレメント


例  ( この例の使用方法 )
次の例は、Flex の mx.accessibility.ListBaseAccImpl クラス(ListBase Accessibility Implementation)で適切なデフォルトアクションを返すようにこのメソッドを実装する方法を示しています。
override public function get_accDefaultAction(childID:uint):String
     {
         if (childID == 0)
             return null;
     
         return "Double Click";
     }

get_accFocus

()メソッド 
public function get_accFocus():uint

ランタイムバージョン: Flash Player 9, AIR 2

コンポーネント内に子フォーカスを持つ子要素がある場合に、その符号なし整数 ID を返す MSAA メソッドです。子フォーカスを持つ子がない場合、このメソッドはゼロを返します。

戻り値
uint — 子フォーカスを持つ子要素の符号なし整数 ID です(コンポーネント内にそのような子要素がある場合のみ)。

詳細

関連する API エレメント


例  ( この例の使用方法 )
次の例は、Flex の mx.accessibility.ListBaseAccImpl クラス(ListBase Accessibility Implementation)でフォーカスのある childID を返すようにこのメソッドを実装する方法を示しています。
override public function get_accFocus():uint
     {
     var index:uint = ListBase(master).selectedIndex;
     
     return index >= 0 ? index + 1 : 0;
     }

get_accName

()メソッド 
public function get_accName(childID:uint):String

ランタイムバージョン: Flash Player 9, AIR 2

この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかの名前を返すための MSAA メソッドです。

このメソッドが実装されていない場合、またはこのメソッドが値を返さない場合、Flash Player は AccessibilityProperties.name プロパティの値を使用して AccessibilityImplementation 自体(childID == 0)の名前を返します(このプロパティ値がある場合)。

子要素を持つことができる AccessibilityImplementations の場合は、このメソッドを実装し、childID がゼロ以外のときには文字列値を返す必要があります。

ユーザーインターフェイス要素のタイプによっては、MSAA の名前は、作成者が割り当てた名前または要素の実際のテキストコンテンツのいずれかを意味します。通常、AccessibilityImplementation 自体は前者のカテゴリーに分類されます。その name プロパティは、作成者が割り当てた名前です。子要素は常に 2 番目のカテゴリーに分類されます。その名前はテキストコンテンツを示します。

AccessibilityImplementation の name プロパティが、作成者によって割り当てられた名前を意味する場合、コンポーネントは 2 つの方法で作成者から名前を取得できます。第 1 の方法では、コンポーネント自体の内部に存在する名前を使用します。例えば、チェックボックスコンポーネントには名前として使用できるテキストラベルが含まれる場合があります。第 1 の方法の代わりとなる第 2 の方法では、UI で指定されている名前を使用し、これは最終的に AccessibilityProperties.name になります。この方法を使用した場合、ユーザーは他の Sprite や MovieClip と同じように名前を指定できます。

これにより、AccessibilityImplementation 自体(childID == zero)は、次の 3 つの可能性のいずれかに該当することになります。

  • コンポーネント内に存在する、作成者が割り当てた名前。get_accName メソッドを実装し、childID がゼロのときは AccessibilityImplementation の名前を含む文字列値を返す必要があります。childID がゼロであるにもかかわらず AccessibilityImplementation に名前がない場合は、AccessibilityProperties.name プロパティが Player で使用されることを防止するために、get_accName から空の文字列を返すようにする必要があります。

  • UI から作成者が割り当てた名前。AccessibilityImplementation が子要素を持つことができる場合は、get_accName メソッドを実装する必要がありますが、childID がゼロのときは値を返さないようにする必要があります。AccessibilityImplementation が子要素を持たない場合は、get_accName を実装しないでください。

  • コンテンツを示す名前。get_accName メソッドを実装し、childID がゼロのときは適切な文字列値を返す必要があります。childID がゼロであるにもかかわらず AccessibilityImplementation にコンテンツがない場合は、AccessibilityProperties.name プロパティが Player で使用されることを防止するために、get_accName から空の文字列を返すようにする必要があります。

子要素の場合(AccessibilityImplementation が子要素を持つことができる場合)は常に 3 番目のケースに該当することに注意してください。get_accName メソッドを実装し、childID がゼロ以外のときは適切な文字列値を返す必要があります。

パラメーター

childID:uintgetChildIDArray() で定義されている、コンポーネントの子要素のいずれかに対応する符号なし整数です。

戻り値
String — コンポーネントまたはその子要素のいずれかの名前です。

詳細

関連する API エレメント


例  ( この例の使用方法 )
次の例は、Flex の mx.accessibility.AccImpl クラス(Flex のアクセシビリティの基本実装)でこのメソッドを実装する方法を示しています。
override public function get_accName(childID:uint):String
     {
         // Start with the name of the component's parent form 
          // if the component is contained within a form
         var accName:String = UIComponentAccImpl.getFormName(master);
     
         // If the element requested is the component itself, 
         // append the value of any assigned accessibilityProperties.name    
         if (childID == 0 && master.accessibilityProperties 
             && master.accessibilityProperties.name 
                 && master.accessibilityProperties.name != "")
             accName += master.accessibilityProperties.name + " ";
     
         // Append the value of the childIDs name 
     // returned by the component-specific override 
     // of the mx.accessibility.AccImpl.getName() utility function,
         // and append the component's status returned by the 
     // component-specific override of the 
     // mx.accessibility.AccImpl.getStatusName() utility function
         accName += getName(childID) + getStatusName();
     
     // Return the assembled String if it is neither empty nor null, 
     // otherwise return null
         return (accName != null && accName != "") ? accName : null;
     }

get_accRole

()メソッド 
public function get_accRole(childID:uint):uint

ランタイムバージョン: Flash Player 9, AIR 2

この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかのシステムロールを返すための MSAA メソッドです。システムロールは、MSAA のすべてのコンポーネントに対して事前に定義されています。

パラメーター

childID:uintgetChildIDArray() で定義されている、コンポーネントの子要素のいずれかに対応する符号なし整数です。

戻り値
uint — コンポーネントに関連付けられたシステムロールです。

例外
Error — エラーコード 2143、AccessibilityImplementation.get_accRole() はそのデフォルトからオーバーライドする必要があります。

詳細

関連する API エレメント

get_accSelection

()メソッド 
public function get_accSelection():Array

ランタイムバージョン: Flash Player 9, AIR 2

選択されているすべての子要素の ID を含む配列を返すための MSAA メソッドです。返される配列には、0 個、1 個、または複数個の ID が含まれる可能性があり、すべて符号なし整数です。

戻り値
Array — 選択されているすべての子要素の ID の配列です。

詳細

関連する API エレメント


例  ( この例の使用方法 )
次の例は、Flex の mx.accessibility.ListBaseAccImpl クラス(ListBase Accessibility Implementation)で選択されている childID を返すようにこのメソッドを実装する方法を示しています。
     override public function get_accSelection():Array
     {
         var accSelection:Array = [];
     
         var selectedIndices:Array = ListBase(master).selectedIndices;
         
         var n:int = selectedIndices.length;
         for (var i:int = 0; i < n; i++)
         {
             accSelection[i] = selectedIndices[i] + 1;
         }
         
         return accSelection;
     }
     

get_accState

()メソッド 
public function get_accState(childID:uint):uint

ランタイムバージョン: Flash Player 9, AIR 2

この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかの現在のランタイム状態を返すための IAccessible メソッドです。

このメソッドは、MSAA でコンポーネントに対して事前に定義されているオブジェクト状態定数(0 個、1 個、または複数個の組み合わせ)を返す必要があります。複数の状態に該当する場合は、ビット単位の OR 演算子 | を使用して、複数の状態定数を 1 つのビットフィールドに結合する必要があります。

現在該当する状態定数がないことを示すには、ゼロを返す必要があります。

STATE_SYSTEM_FOCUSABLE 状態および STATE_SYSTEM_FOCUSED 状態を追跡してレポートする必要はありません。これらの状態は Flash Player で自動的に処理されます。

パラメーター

childID:uintgetChildIDArray() で定義されている、コンポーネントの子要素のいずれかに対応する符号なし整数です。

戻り値
uint — 0 個、1 個、または複数個のシステム状態定数の組み合わせです。複数の定数がある場合は、ビット単位の OR 演算子 | を使用して 1 つのビットフィールドに結合されます。

例外
Error — エラーコード 2144、AccessibilityImplementation.get_accState() はそのデフォルトからオーバーライドする必要があります。

詳細

関連する API エレメント


例  ( この例の使用方法 )
次の例は、mx.accessibility.ListBaseAccImpl(Flex ListBase Accessibility Implementation)で複数の状態定数を 1 つに結合するようにこのメソッドを実装する方法を示しています。
     override public function get_accState(childID:uint):uint
     {
         var accState:uint = getState(childID);
     
         if (childID > 0) 
         {
             var listBase:ListBase = ListBase(master);
     
             var index:uint = childID - 1;
     
             // For returning states (OffScreen and Invisible)
             // when the list Item is not in the displayed rows.
             if (index < listBase.verticalScrollPosition ||
                 index >= listBase.verticalScrollPosition + listBase.rowCount)
             {
                 accState |= (STATE_SYSTEM_OFFSCREEN |
                              STATE_SYSTEM_INVISIBLE);
             }
             else
             {
                 accState |= STATE_SYSTEM_SELECTABLE;
     
                 var item:Object = getItemAt(index);
     
                 var renderer:IListItemRenderer =
                     listBase.itemToItemRenderer(item);
     
                 if (renderer != null && listBase.isItemSelected(renderer.data))
                     accState |= STATE_SYSTEM_SELECTED | STATE_SYSTEM_FOCUSED;
             }
         }
     
         return accState;
     }

get_accValue

()メソッド 
public function get_accValue(childID:uint):String

ランタイムバージョン: Flash Player 9, AIR 2

この AccessibilityImplementation が表すコンポーネントまたはその子要素のいずれかのランタイム値を返すための MSAA メソッドです。

このメソッドは、AccessibilityImplementation が表す UI 要素に MSAA モデルの値が存在する場合にのみ実装してください。明白な「値」を持つ一部の UI 要素は、実際には様々な方法でこの値を公開することに注意してください。例えば、get_accName(テキストなど)、get_accState(チェックボックスなど)、get_accSelection(リストボックスなど)を使用します。

AccessibilityImplementation 自体に対してのみ、またはその子要素に対してのみ get_accValue を実装する場合、状況によっては、渡された childID に値の概念が存在しないことを示す必要があります。その場合は、単純に null を返します。

パラメーター

childID:uintgetChildIDArray() で定義されている、コンポーネントの子要素のいずれかに対応する符号なし整数です。

戻り値
String — コンポーネントまたはその子要素のいずれかのランタイム値を表す文字列です。

詳細

関連する API エレメント


例  ( この例の使用方法 )
次の例は、Flex の mx.accessibility.ListBaseAccImpl クラス(ListBase Accessibility Implementation)で、コンポーネントの selectedIndex 値に基づいて適切な値を返すようにこのメソッドを実装する方法を示しています。
override public function get_accValue(childID:uint):String
     {
         var accValue:String;
         
         var listBase:ListBase = ListBase(master);
         
         var index:int = listBase.selectedIndex;
         if (childID == 0)
         {
             if (index > -1)
             {
                 var item:Object = getItemAt(index);
     
                 if (item is String)
                 {
                     accValue = item + " " + (index + 1) + " of " + listBase.dataProvider.length;
                 }
                 else
                 {
                     accValue = listBase.itemToLabel(item) + " " + (index + 1) +
                                " of " + listBase.dataProvider.length;
                 }
             }
         }
     
         return accValue;
     }

get_selectionActiveIndex

()メソッド 
public function get_selectionActiveIndex():*

戻り値
*

get_selectionAnchorIndex

()メソッド 
public function get_selectionAnchorIndex():*

戻り値
*

getChildIDArray

()メソッド 
public function getChildIDArray():Array

ランタイムバージョン: Flash Player 9, AIR 2

AccessibilityImplementation のすべての子要素の符号なし整数 ID を含む配列を返します。

この配列の長さはゼロになることもあります。配列内の ID は、それらが表す子要素と同じ論理順序になっている必要があります。AccessibilityImplementation が子要素を含む可能性がある場合、このメソッドは必須です。そうでない場合は、実装しないでください。

子 ID を子要素に割り当てるときは、AccessibilityImplementation の各インスタンス内で一意性が保たれる方法を使用してください。子 ID は連続している必要はなく、子 ID の順序は子要素の論理順序と一致していなくてもかまいません。同じ子 ID を再利用しないように注意する必要があります。つまり、子要素を削除する場合は、その AccessibilityImplementation インスタンスの存続期間中に同じ ID を再利用しないようにする必要があります。百万を超える子 ID を使用した場合、Flash Player コードでの実装選択により、望ましくない結果が発生する可能性があることに注意してください。

戻り値
Array — AccessibilityImplementation のすべての子要素の符号なし整数 ID を含む配列です。

例  ( この例の使用方法 )
次の例は、Flex の mx.accessibility.ListBaseAccImpl クラス(ListBase Accessibility Implementation)で childID の配列を返すようにこのメソッドを実装する方法を示しています。
     override public function getChildIDArray():Array
     {
         var childIDs:Array = [];
     
         if (ListBase(master).dataProvider)
         {
             var n:uint = ListBase(master).dataProvider.length;
             for (var i:int = 0; i < n; i++)
             {
                 childIDs[i] = i + 1;
             }
         }
         return childIDs;
     }
     

isLabeledBy

()メソッド 
public function isLabeledBy(labelBounds:Rectangle):Boolean

ランタイムバージョン: Flash Player 9, AIR 2

true または false を返して、xywidth および height で指定されたバウンディングボックスを持つテキストオブジェクトを、この AccessibilityImplementation が表すコンポーネントのラベルと見なすかどうかを示します。

x および y 座標は、AccessibilityImplementation が適用されるコンポーネントの左上隅からの相対位置を示し、負の値になる場合があります。座標はすべて Stage ピクセル単位です。

このメソッドにより、アクセス可能なコンポーネントを Flash Player の自動ラべリング関係の検索に適合させることができます。これにより、オブジェクトの外部のテキストからオブジェクトの名前を提供することができます。このメソッドが提供される理由は、ラベルを認識する基準がコンポーネントごとに異なると予想されることにあります。このメソッドを実装する場合、ボタンおよびテキストフィールドのプレーヤーコード内で使用されている幾何学的基準と同様の基準を使用してください。これらの基準は次のとおりです。

  • ボタンの場合、ボタン内に完全に収まるテキストはラベルと見なされます。
  • テキストフィールドの場合、上部に近く、左揃えで表示されるテキスト、または左寄りに表示されるテキストはラベルと見なされます。

AccessibilityImplementation で表されるコンポーネントを自動ラべリングの関係に参加させない場合、isLabeledBy を実装しないでください。これは、常に false を返すことと同じです。isLabeledBy を実装しない状況の一例として、AccessibilityImplementation が上記の get_accName で記述された「コンポーネント内で作成者が割り当てた名前」に該当する場合が挙げられます。

このメソッドは IAccessible メソッドに基づくものではなく、Flash に固有のものです。

パラメーター

labelBounds:Rectangle — テキストオブジェクトのバウンディングボックスを表す長方形です。

戻り値
Booleantrue または false によって、所定のラベルプリント領域を持つテキストオブジェクトを、この AccessibilityImplementation が表すコンポーネントのラベルと見なすかどうかを示します。




[ X ]英語で表示される理由
ActionScript 3.0 リファレンスガイドのコンテンツが英語で表示されます。

ActionScript 3.0 リファレンスガイドのすべての部分がすべての言語に翻訳されているわけではありません。言語エレメントが翻訳されていない場合、そのエレメントは英語で表示されます。例えば、ga.controls.HelpBox クラスはどの言語にも訳されていません。このため、リファレンスガイドの日本語バージョンでは、ga.controls.HelpBox クラスは英語で表示されます。