用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: AIR 30.0 和更早版本, Flash Player 30.0 和更早版本, Flash Lite 4
Flex 4.6 和更早版本, Flash Pro CS6 和更早版本
隐藏过滤条件
mx.controls 

FileSystemList  - AS3 Flex

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 的标签
Motion XML 元素
Timed Text 标记
不推荐使用的元素的列表
AccessibilityImplementation 常量
如何使用 ActionScript 示例
法律声明
mx.controls
public class FileSystemList
继承FileSystemList Inheritance List Inheritance ListBase Inheritance ScrollControlBase Inheritance UIComponent Inheritance FlexSprite Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

使用 FileSystemList 控件,可以列表格式显示单个文件系统目录的内容。

要更改显示的数据,需要设置 directory 属性,而无需使用 dataProvider 属性。随后,控件将自动通过枚举该目录的内容填充 dataProvider 属性。您不应亲自设置 dataProvider

您需要将 directory 属性设置为 File 实例,如以下示例所示:

    <mx:FileSystemList directory="{File.desktopDirectory}"/>

您可以设置 enumerationMode 属性,以指定是显示文件、子目录还是同时显示两者。有三种方式可以同时显示两者:目录优先、文件优先或两者混合。

您可以设置 extensions 属性以筛选显示的项目,从而仅显示具有指定扩展名的文件。showHidden 确定控件是否显示操作系统通常隐藏的文件和子目录。您可以指定另外一个 filterFunction 执行自定义筛选,并指定 nameCompareFunction 执行自定义排序。

由于 AIR 不支持文件系统通知,因此,在创建、删除、移动或重命名文件或子目录时不会自动刷新此控件;也就是说,它可以显示文件系统的过期视图。但是,您可以调用 refresh() 重新枚举当前的 directory。例如,当您执行了某个文件操作并已知此操作将导致控件的视图过期时,或者当用户取消激活或重新激活您的应用程序时,您可以选择执行此操作。

您可以使用 showIcons 属性显示或隐藏图标,使用 showExtensions 属性显示或隐藏文件扩展名。

该控件提供了 findItem()findIndex() 两种方法,您可以使用这两种方法搜索显示的文件和子目录,以查找具有指定 nativePath 的文件或子目录。

该控件还提供了 selectedPathselectedPaths 两个属性,工作原理与 selectedItemselectedItems 或者 selectedIndexselectedIndices 类似,但允许您通过 nativePath 字符串指定选择。如果需要显示已预先选择了特定项目的目录,它们将非常有用。因为在这种情况下,您还没有在控件枚举目录时控件将创建的 File 项目,并且不知道其索引将是什么。

该控件允许用户使用鼠标或键盘导航到其它目录。用户可以尝试使用下列方法更改目录:双击子目录;选中子目录后按 Enter 键或 Ctrl-Down;在控件不显示 COMPUTER 目录时按 Ctrl-Up;在存在要导航回的“上一个”目录时按 Ctrl-Left;在存在要导航到的“下一个”目录时按 Ctrl-Right。如果用户试图更改正在显示的目录,则该控件将调度可取消的 directoryChanging 事件。如果没有通过调用 event.preventDefault() 取消此事件,则该控件将显示新目录的内容,并且 directory 属性将发生更改。无论 directory 属性在何时由于任何原因发生更改,控件都会调度 directoryChange 事件通知您。

为了支持控件进行“向上”和“向下”导航,FileSystemList 提供了 canNavigateUpcanNavigateDown 属性,以及 navigateUp()navigateDown() 方法。还有一个 navigateTo(),可导航到任意目录。

该控件可跟踪用户曾经导航到的目录,以便支持控件进行“后退”和“前进”导航。有关详细信息,请参见 backHistoryforwardHistorycanNavigateBackcanNavigateForward 属性,以及 navigateBack()navigateForward() 方法。

注意:针对每个项目显示的图标都是通用文件和目录图标,您可以使用 fileIcondirectoryIcon 样式设置它们。Flex 的基于列表的控件当前支持仅显示嵌入的图标,但不支持在运行时读取的图标。因此,FileSystemList 中不显示操作系统中显示的实际文件系统图标,即使可以通过 File 的 icon 属性在 AIR 中访问它们。

MXML 语法expanded隐藏 MXML 语法

The <mx:FileSystemList> tag inherits all of the tag attributes of its superclass and adds the following tag attributes:

  <mx:FileSystemList
    Properties
    directory="null"
    enumerationMode="directoriesFirst"
    extensions="null"
    filterFunction="null"
    nameCompareFunction="null"
    selectedPath="null"
    selectedPaths="null"
    showExtensions="true"
    showHidden="false"
    showIcons="true"
 
    Styles
    directoryIcon="TreeNodeIcon"
    fileIcon="TreeNodeIcon"
 
    Events
    directoryChange="No default"
    directoryChanging="No default"
    fileChoose="No default"
  />
  

默认 MXML 属性dataProvider

相关 API 元素



公共属性
 属性由以下参数定义
 InheritedaccessibilityDescription : String
一个方便的存取器,用于访问此 UIComponent 的 accessibilityProperties 对象的 description 属性。
UIComponent
 InheritedaccessibilityEnabled : Boolean
一个方便的存取器,用于访问此 UIComponent 的 accessibilityProperties 对象的 silent 属性。
UIComponent
 InheritedaccessibilityImplementation : AccessibilityImplementation
InteractiveObject 实例的当前辅助功能实现 (AccessibilityImplementation)。
InteractiveObject
 InheritedaccessibilityName : String
一个方便的存取器,用于访问此 UIComponent 的 accessibilityProperties 对象的 name 属性。
UIComponent
 InheritedaccessibilityProperties : AccessibilityProperties
此显示对象的当前辅助功能选项。
DisplayObject
 InheritedaccessibilityShortcut : String
一个方便的存取器,用于访问此 UIComponent 的 accessibilityProperties 对象的 shortcut 属性。
UIComponent
 InheritedactiveEffects : Array
[只读] 组件上当前播放的效果列表,如 EffectInstance 实例的 Array。
UIComponent
 InheritedallowDragSelection : Boolean = false
一个标志,指示是否启用拖动选择。
ListBase
 InheritedallowMultipleSelection : Boolean
一个标志,指示是否允许您同时选择多个项目。
ListBase
 Inheritedalpha : Number
表示指定对象的 Alpha 透明度值。
DisplayObject
 InheritedautomationDelegate : Object
处理自动化相关功能的委托对象。
UIComponent
 InheritedautomationEnabled : Boolean
[只读] 如果此组件启用了自动化,则为 true;否则为 false。
UIComponent
 InheritedautomationName : String
可用作此对象的标识符的名称。
UIComponent
 InheritedautomationOwner : DisplayObjectContainer
[只读] 用于自动化目的的此组件的所有者。
UIComponent
 InheritedautomationParent : DisplayObjectContainer
[只读] 用于自动化目的的此组件的父级。
UIComponent
 InheritedautomationTabularData : Object
[只读] IAutomationTabularData 接口的实现,可用于检索数据。
UIComponent
 InheritedautomationValue : Array
[只读] 此值通常对应于对象的经呈示的外观,当对象在应用中以可视方式显示时,此值使标识符与该对象相关联。
UIComponent
 InheritedautomationVisible : Boolean
[只读] 如果此组件对于自动化是可见的,则为 true;否则为 false。
UIComponent
      backHistory : Array
[只读] 一个 File 对象 Array,表示用户可以向后导航到的目录。
FileSystemList
 Inheritedbaseline : Object
对于组件,此布局约束属性是基于类似命名的样式的外观。
UIComponent
 InheritedbaselinePosition : Number
[只读] 组件第一行文本的基线的 y 坐标。
UIComponent
 InheritedblendMode : String
BlendMode 类中的一个值,用于指定要使用的混合模式。
DisplayObject
 InheritedblendShader : Shader
[只写] 设置用于混合前景和背景的着色器。
DisplayObject
 InheritedborderMetrics : EdgeMetrics
[只读] 返回 EdgeMetrics 对象,它具有四个属性:left、top、right 和 bottom。
ScrollControlBase
 Inheritedbottom : Object
对于组件,此布局约束属性是基于类似命名的样式的外观。
UIComponent
 InheritedbuttonMode : Boolean
指定此 sprite 的按钮模式。
Sprite
 InheritedcacheAsBitmap : Boolean
如果设置为 true,则 Flash 运行时将缓存显示对象的内部位图表示形式。
DisplayObject
 Inherited    cacheAsBitmapMatrix : Matrix
如果为非 null,则 Matrix 对象会定义显示对象在 cacheAsBitmap 设置为 true 时的呈现方式。
DisplayObject
 InheritedcacheHeuristic : Boolean
[只写] 供 Flex 使用,表示建议为对象实施位图缓存。
UIComponent
 InheritedcachePolicy : String
指定此对象的位图缓存策略。
UIComponent
      canNavigateBack : Boolean
[只读] 一个标志,如果历史记录列表中至少存在一个可供用户向后导航的目录,则为 true。
FileSystemList
      canNavigateDown : Boolean
[只读] 一个标志,如果用户可向下导航至所选目录,则为 true。
FileSystemList
      canNavigateForward : Boolean
[只读] 一个标志,如果历史记录列表中至少存在一个可供用户向前导航的目录,则为 true。
FileSystemList
      canNavigateUp : Boolean
[只读] 一个标志,如果用户可向上导航至父级目录,则为 true。
FileSystemList
 InheritedclassName : String
[只读] 此实例的类的名称,如“Button”。
UIComponent
 InheritedcolumnCount : int
在 TileList 控件中显示的列数,或在 HorizontalList 控件中显示的项目数。
ListBase
 InheritedcolumnWidth : Number
控件中列的宽度。
ListBase
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
 InheritedcontentMouseX : Number
[只读] 返回鼠标在内容坐标系中的 x 位置。
UIComponent
 InheritedcontentMouseY : Number
[只读] 返回内容坐标系中鼠标的 y 位置。
UIComponent
 InheritedcontextMenu : NativeMenu
指定与此对象相关联的上下文菜单。
InteractiveObject
 InheritedcurrentState : String
组件的当前视图状态。
UIComponent
 InheritedcursorManager : ICursorManager
[只读] 获取控制此组件及其同级组件的光标的 CursorManager。
UIComponent
 Inheriteddata : Object
将此组件用作项呈示器或项目编辑器时,此组件应呈示的数据提供程序中的项目。
ListBase
 InheriteddataProvider : Object
要查看的数据集。
ListBase
 InheriteddataTipField : String
数据提供程序项目中作为数据提示显示的字段名称。
ListBase
 InheriteddataTipFunction : Function
用户提供的函数,在各个项目上运行以确定其数据提示。
ListBase
 Inheriteddepth : Number
确定容器内各项目的呈示顺序。
UIComponent
 Inheriteddescriptor : UIComponentDescriptor
引用 UIComponentDescriptor(如果有),过去曾通过 createComponentFromDescriptor() 方法使用它来创建此 UIComponent 实例。
UIComponent
 InheriteddesignLayer : DesignLayer
指定与该可视元素关联的可选 DesignLayer 实例。
UIComponent
      directory : File
此控件显示内容所在的目录。
FileSystemList
 Inheriteddocument : Object
引用与此 UIComponent 相关联的文档对象。
UIComponent
 InheriteddoubleClickEnabled : Boolean
[覆盖] 指定 UIComponent 对象是否接收 doubleClick 事件。
UIComponent
 InheriteddragEnabled : Boolean
一个标志,指示是否可以将项目拖出此控件并放到其它控件上。
ListBase
 InheriteddragMoveEnabled : Boolean
一个标志,指示在拖放操作过程中是否可以移动控件中的项目,而不只是从控件中复制这些项目。
ListBase
 InheriteddropEnabled : Boolean
一个标志,指示是否可以将所拖动的项目放到此控件上。
ListBase
 InheriteddropTarget : DisplayObject
[只读] 指定拖动 sprite 时经过的显示对象,或放置 sprite 的显示对象。
Sprite
 Inheritededitable : Boolean
一个标志,指示用户能否编辑数据提供程序中的项目。
List
 InheritededitedItemPosition : Object
正在编辑的数据提供程序项目的项呈示器的列索引和行索引(如果有)。
List
 InheritededitedItemRenderer : IListItemRenderer
[只读] 对当前正在编辑的项目所属的 DataGrid 控件中项呈示器的引用。
List
 InheritededitorDataField : String = "text"
项目编辑器的属性名称,其中包含列表项目的新数据。
List
 InheritededitorHeightOffset : Number = 0
项目编辑器相对于项呈示器大小的高度(以像素为单位)。
List
 InheritededitorUsesEnterKey : Boolean = false
指示项目编辑器是否使用 Enter 键的标志。
List
 InheritededitorWidthOffset : Number = 0
项目编辑器相对于项呈示器大小的宽度(以像素为单位)。
List
 InheritededitorXOffset : Number = 0
项目编辑器左上角相对于项目左上角的 x 位置(以像素为单位)。
List
 InheritededitorYOffset : Number = 0
项目编辑器左上角相对于项目左上角的 y 位置(以像素为单位)。
List
 Inheritedenabled : Boolean
组件是否可以接受用户交互。
UIComponent
 InheritedenableIME : Boolean
[只读] 一个标志,用于指示当组件获得焦点时是否应启用 IME。
List
      enumerationMode : String
一个字符串,指定此控件是仅显示文件、仅显示子目录,还是两者均显示。
FileSystemList
 InheritederrorString : String
当验证程序监视组件并且验证失败时,组件的错误提示中将显示的文本。
UIComponent
 InheritedexplicitHeight : Number
指定该组件在组件坐标中显式高度(以像素为单位)的数字。
UIComponent
 InheritedexplicitMaxHeight : Number
布局过程中父级要考虑的组件最大建议高度。
UIComponent
 InheritedexplicitMaxWidth : Number
布局过程中父级要考虑的组件最大建议宽度。
UIComponent
 InheritedexplicitMinHeight : Number
布局过程中父级要考虑的组件最小建议高度。
UIComponent
 InheritedexplicitMinWidth : Number
布局过程中父级要考虑的组件最小建议宽度。
UIComponent
 InheritedexplicitWidth : Number
指定该组件在组件坐标中显式宽度(以像素为单位)的数字。
UIComponent
      extensions : Array
扩展名的 Array,指定在此控件中可以显示哪些文件。
FileSystemList
      filterFunction : Function
在应用 enumerationMode 和扩展名属性后,可用来执行其它筛选以确定显示及隐藏哪些文件和子目录的回调函数。
FileSystemList
 Inheritedfilters : Array
包含当前与显示对象关联的每个滤镜对象的索引数组。
DisplayObject
 InheritedflexContextMenu : IFlexContextMenu
此 UIComponent 的上下文菜单。
UIComponent
 InheritedfocusEnabled : Boolean
指示切换到此组件时,是否可以获得焦点。
UIComponent
 InheritedfocusManager : IFocusManager
获取控制此组件及其同级组件的焦点的 FocusManager。
UIComponent
 InheritedfocusPane : Sprite
与此对象相关联的焦点窗格。
UIComponent
 InheritedfocusRect : Object
指定此对象是否显示焦点矩形。
InteractiveObject
      forwardHistory : Array
[只读] 一个 File 对象 Array,表示用户可以向前导航到的目录。
FileSystemList
 Inheritedgraphics : Graphics
[只读] 指定属于此 sprite 的 Graphics 对象,在此 sprite 中可执行矢量绘图命令。
Sprite
 InheritedhasFocusableChildren : Boolean
一个标志,指示子对象是否能够获得焦点。
UIComponent
 InheritedhasLayoutMatrix3D : Boolean
[只读] 如果元素具有 3D 矩阵,则为 true。
UIComponent
 Inheritedheight : Number
[覆盖] 指定组件在父坐标中的高度的数字(以像素为单位)。
UIComponent
 InheritedhitArea : Sprite
指定一个 sprite 用作另一个 sprite 的点击区域。
Sprite
 InheritedhorizontalCenter : Object
对于组件,此布局约束属性是基于类似命名的样式的外观。
UIComponent
 InheritedhorizontalScrollPolicy : String
指示水平滚动条是始终启用、始终禁用还是自动根据传递到 setScrollBarProperties() 方法的参数进行更改的属性。
ScrollControlBase
 InheritedhorizontalScrollPosition : Number
内容与左边缘的偏移量。
ScrollControlBase
 InheritediconField : String
数据提供程序对象中字段的名称,该字段用于确定显示为图标的对象。
ListBase
 InheritediconFunction : Function
用户提供的函数,在每个项目上运行以确定其图标。
ListBase
 Inheritedid : String
组件 ID。
UIComponent
 InheritedimeMode : String
指定 IME(输入法编辑器)模式。
List
 InheritedincludeInLayout : Boolean
指定此组件是否包含在父容器的布局中。
UIComponent
 InheritedinheritingStyles : Object
此组件的继承样式链的开头内容。
UIComponent
 Inheritedinitialized : Boolean
一个标志,用于确定某个对象是否已通过布局的所有三个阶段:提交、测量和布局(假设每个阶段都是必需的)。
UIComponent
 InheritedinstanceIndex : int
[只读] 重复组件的索引。
UIComponent
 InheritedinstanceIndices : Array
一个 Array,包含从此 UIComponent 对象的父文档引用该对象所需的索引。
UIComponent
 Inheritedis3D : Boolean
[只读] 当元素为 3D 时,则为 true。
UIComponent
 InheritedisDocument : Boolean
[只读] 如果此 UIComponent 实例为文档对象,则为 true。
UIComponent
 InheritedisPopUp : Boolean
PopUpManager 将其设置为 true 以指示已弹出该组件。
UIComponent
 InheriteditemEditor : IFactory
如果将可编辑属性设置为 true,则为用于控件的项目编辑器的类工厂。
List
 InheriteditemEditorInstance : IListItemRenderer
对项目编辑器的当前活动实例(如果有)的引用。
List
 InheriteditemRenderer : IFactory
控件的自定义项呈示器。
ListBase
 InheritedlabelField : String
数据提供程序项目中作为标签显示的字段名称。
ListBase
 InheritedlabelFunction : Function
用户提供的函数,在每个项目上运行以确定其标签。
ListBase
 InheritedlayoutMatrix3D : Matrix3D
[只写] 用于相对于其同级组件计算组件的布局的转换矩阵。
UIComponent
 Inheritedleft : Object
对于组件,此布局约束属性是基于类似命名的样式的外观。
UIComponent
 InheritedlistData : BaseListData
如果使用组件作为嵌入式项呈示器或嵌入式项目编辑器,则 Flex 将使用 list 控件中的其它数据初始化组件的 listData 属性。
ListBase
 InheritedliveScrolling : Boolean = true
一个标志,指示移动滚动栏滑块时实时滚动视图,还是释放滑块后才更新视图。
ScrollControlBase
 InheritedloaderInfo : LoaderInfo
[只读] 返回一个 LoaderInfo 对象,其中包含加载此显示对象所属的文件的相关信息。
DisplayObject
 InheritedmaintainProjectionCenter : Boolean
如果为 true,则该组件将使其投影矩阵在其边框的中央保持居中。
UIComponent
 Inheritedmask : DisplayObject
调用显示对象被指定的 mask 对象遮罩。
DisplayObject
 InheritedmaxHeight : Number
布局过程中父级要考虑的组件最大建议高度。
UIComponent
 InheritedmaxHorizontalScrollPosition : Number
horizontalScrollPosition 属性的最大值。
ScrollControlBase
 InheritedmaxVerticalScrollPosition : Number
verticalScrollPosition 属性的最大值。
ScrollControlBase
 InheritedmaxWidth : Number
布局过程中父级要考虑的组件最大建议宽度。
UIComponent
 InheritedmeasuredHeight : Number
组件的默认高度(以像素为单位)。
UIComponent
 InheritedmeasuredMinHeight : Number
组件的默认最小高度(以像素为单位)。
UIComponent
 InheritedmeasuredMinWidth : Number
组件的默认最小宽度(以像素为单位)。
UIComponent
 InheritedmeasuredWidth : Number
组件的默认宽度(以像素为单位)。
UIComponent
 InheritedmenuSelectionMode : Boolean = false
一个标志,指示是否应使用菜单样式选择。
ListBase
 InheritedmetaData : Object
如果元数据是通过 PlaceObject4 标记与此 DisplayObject 的实例一起存储在 SWF 文件中的,则获取 DisplayObject 实例的元数据对象。
DisplayObject
 InheritedminHeight : Number
布局过程中父级要考虑的组件最小建议高度。
UIComponent
 InheritedminWidth : Number
布局过程中父级要考虑的组件最小建议宽度。
UIComponent
 InheritedmoduleFactory : IFlexModuleFactory
模块工厂用作上下文,用于为此组件使用嵌入字体以及查找用于控制此组件样式的样式管理器。
UIComponent
 InheritedmouseChildren : Boolean
确定对象的子级是否支持鼠标或用户输入设备。
DisplayObjectContainer
 InheritedmouseEnabled : Boolean
指定此对象是否接收鼠标或其他用户输入、消息。
InteractiveObject
 InheritedmouseFocusEnabled : Boolean
单击时是否可获得焦点。
UIComponent
 InheritedmouseX : Number
[只读] 表示此鼠标或用户输入设备位置的 x 坐标,以像素为单位。
DisplayObject
 InheritedmouseY : Number
[只读] 表示此鼠标或用户输入设备位置的 y 坐标,以像素为单位。
DisplayObject
 Inheritedname : String
表示 DisplayObject 的实例名称。
DisplayObject
      nameCompareFunction : Function
可用于更改文件和子目录名称的比较方式以生成排序顺序的回调函数。
FileSystemList
 InheritedneedsSoftKeyboard : Boolean
指定当该 InteractiveObject 实例获得焦点时,是否显示虚拟键盘(显示在屏幕上的软键盘)。
InteractiveObject
 InheritednestLevel : int
此对象在所属关系层次结构中的深度。
UIComponent
 InheritednonInheritingStyles : Object
此组件的非继承样式链的开头内容。
UIComponent
 InheritednullItemRenderer : IFactory
控件的自定义项呈示器。
ListBase
 InheritednumAutomationChildren : int
[只读] 此容器包含的自动化子项数。
UIComponent
 InheritednumChildren : int
[只读] 返回此对象的子项数目。
DisplayObjectContainer
 InheritedoffscreenExtraRowsOrColumns : int
项呈示器的额外行或列的目标数量,供在控件布局中使用。
ListBase
 InheritedopaqueBackground : Object
指定显示对象是否由于具有某种背景颜色而不透明。
DisplayObject
 Inheritedowner : DisplayObjectContainer
此 IVisualElement 对象的所有者。
UIComponent
 Inheritedparent : DisplayObjectContainer
[覆盖] [只读] 此组件的父容器或组件。
UIComponent
 InheritedparentApplication : Object
[只读] 引用包含此 UIComponent 实例的 Application 对象。
UIComponent
 InheritedparentDocument : Object
[只读] 引用此 UIComponent 的父文档对象。
UIComponent
 InheritedpercentHeight : Number
以组件父代大小百分比的方式指定组件高度。
UIComponent
 InheritedpercentWidth : Number
以组件父代大小百分比的方式指定组件宽度。
UIComponent
 InheritedpostLayoutTransformOffsets : mx.geom:TransformOffsets
定义能够应用于对象转换且在一定程度上对其父布局不可视的一组调整。
UIComponent
 InheritedprocessedDescriptors : Boolean
临时或延迟子项创建操作后设置为 true,具体取决于发生对象。
UIComponent
 InheritedrendererIsEditor : Boolean = false
指定项呈示器是否同时也是项目编辑器。
List
 Inheritedrepeater : IRepeater
[只读] 对生成此 UIComponent 的父文档中 Repeater 对象的引用。
UIComponent
 InheritedrepeaterIndex : int
[只读] 项目在生成此 UIComponent 的 Repeater 数据提供程序中的索引。
UIComponent
 InheritedrepeaterIndices : Array
一个 Array,包含项目在生成此 UIComponent 的父文档的 Repeater 数据提供程序中的索引。
UIComponent
 Inheritedrepeaters : Array
一个 Array,包含对生成此 UIComponent 的父文档中 Repeater 对象的引用。
UIComponent
 Inheritedright : Object
对于组件,此布局约束属性是基于类似命名的样式的外观。
UIComponent
 Inheritedroot : DisplayObject
[只读] 对于加载的 SWF 文件中的显示对象,root 属性是此 SWF 文件所表示的显示列表树结构部分中的顶级显示对象。
DisplayObject
 Inheritedrotation : Number
[覆盖] 表示 DisplayObject 实例距其原始方向的旋转程度,以度为单位。
UIComponent
 InheritedrotationX : Number
[覆盖] 表示 DisplayObject 实例相对于 3D 父容器距离其原始方向的 x 轴旋转(以度为单位)。
UIComponent
 InheritedrotationY : Number
[覆盖] 表示 DisplayObject 实例相对于 3D 父容器距离其原始方向的 y 轴旋转(以度为单位)。
UIComponent
 InheritedrotationZ : Number
[覆盖] 表示 DisplayObject 实例相对于 3D 父容器距离其原始方向的 z 轴旋转(以度为单位)。
UIComponent
 InheritedrowCount : int
要显示的行数。
ListBase
 InheritedrowHeight : Number
行高(以像素为单位)。
ListBase
 Inheritedscale9Grid : Rectangle
当前有效的缩放网格。
DisplayObject
 InheritedscaleX : Number
[覆盖] 用于指定水平缩放系数的数字。
UIComponent
 InheritedscaleY : Number
[覆盖] 用于指定垂直缩放系数的数字。
UIComponent
 InheritedscaleZ : Number
[覆盖] 指定沿着 z 轴的缩放因子的数值。
UIComponent
 Inheritedscreen : Rectangle
[只读] 返回包含此对象的基本绘图表面大小和位置的对象。
UIComponent
 InheritedscrollRect : Rectangle
显示对象的滚动矩形范围。
DisplayObject
 InheritedscrollTipFunction : Function
将要显示的字符串作为 ScrollTip 计算的函数。
ScrollControlBase
 Inheritedselectable : Boolean
一个标志,指示列表是否将所选项目显示为选中状态。
ListBase
 InheritedselectedIndex : int
所选项目的数据提供程序中的索引。
ListBase
 InheritedselectedIndices : Array
数据提供程序中所选项目的索引的数组。
ListBase
 InheritedselectedItem : Object
对数据提供程序中所选项目的引用。
ListBase
 InheritedselectedItems : Array
对数据提供程序中所选项目的引用的数组。
ListBase
 InheritedselectedItemsCompareFunction : Function
用于比较 selectedItems 属性中的项目与数据提供程序中的项目的函数。
ListBase
      selectedPath : String
表示所选子目录或文件的 File 项目的 nativePath;如果未选定任何项目,则为 null。
FileSystemList
      selectedPaths : Array
表示所选子目录和文件的 File 项目的 nativePath 字符串 Array。
FileSystemList
 InheritedshowDataTips : Boolean
一个标志,指示是否为行中的文本显示数据提示。
ListBase
      showExtensions : Boolean
一个标志,指定是否显示文件名称中的扩展名。
FileSystemList
      showHidden : Boolean
一个标志,指定是否显示操作系统视为隐藏的文件和目录。
FileSystemList
      showIcons : Boolean
一个标志,指定在文件名称之前显示图标。
FileSystemList
 InheritedshowInAutomationHierarchy : Boolean
用于确定自动化对象是否显示在自动化层次中的标志。
UIComponent
 InheritedshowScrollTips : Boolean = false
一个标志,指示拖动滚动滑块时是否应在其旁边显示工具提示。
ScrollControlBase
 Inherited    softKeyboard : String
控制软键盘的外观。
InteractiveObject
 InheritedsoftKeyboardInputAreaOfInterest : Rectangle
定义当显示软键盘时应在屏幕上保留的区域(在 iOS 上不支持)。
InteractiveObject
 InheritedsoundTransform : flash.media:SoundTransform
控制此 sprite 中的声音。
Sprite
 Inheritedstage : Stage
[只读] 显示对象的舞台。
DisplayObject
 Inheritedstates : Array
为此组件定义的视图状态。
UIComponent
 InheritedstyleDeclaration : CSSStyleDeclaration
存储此对象的内嵌继承样式。
UIComponent
 InheritedstyleManager : IStyleManager2
[只读] 返回此组件使用的 StyleManager 实例。
UIComponent
 InheritedstyleName : Object
此组件使用的类样式。
UIComponent
 InheritedstyleParent : IAdvancedStyleClient
组件的父项用于评估后代选择器。
UIComponent
 InheritedsystemManager : ISystemManager
返回此组件使用的 SystemManager 对象。
UIComponent
 InheritedtabChildren : Boolean
确定对象的子项是否支持 Tab 键。
DisplayObjectContainer
 InheritedtabEnabled : Boolean
指定此对象是否遵循 Tab 键顺序。
InteractiveObject
 InheritedtabFocusEnabled : Boolean
一个标志,指示该对象是否能够通过 Tab 键获得焦点。这与 Flash Player 使用的 tabEnabled 属性类似。对于处理键盘输入的组件该标志通常为 true,但是控件栏中的一些组件将其设置为 false,因为它们不能像编辑器一样从另外的组件窃取焦点。
UIComponent
 InheritedtabIndex : int
指定 SWF 文件中的对象按 Tab 键顺序排列。
InteractiveObject
 InheritedtextSnapshot : flash.text:TextSnapshot
[只读] 返回此 DisplayObjectContainer 实例的 TextSnapshot 对象。
DisplayObjectContainer
 InheritedtoolTip : String
要在 ToolTip 中显示的文本。
UIComponent
 Inheritedtop : Object
对于组件,此布局约束属性是基于类似命名的样式的外观。
UIComponent
 Inheritedtransform : flash.geom:Transform
[覆盖] 一个对象,具有与显示对象的矩阵、颜色转换和像素范围有关的属性。
UIComponent
 InheritedtransformX : Number
设置组件转换中心的 x 坐标。
UIComponent
 InheritedtransformY : Number
设置组件转换中心的 y 坐标。
UIComponent
 InheritedtransformZ : Number
设置组件转换中心的 z 坐标。
UIComponent
 Inheritedtransitions : Array
一个 Transition 对象 Array,其中的每个 Transition 对象都定义一组效果,用于在视图状态发生更改时播放。
UIComponent
 InheritedtweeningProperties : Array
当前在此对象上进行补间的属性数组。
UIComponent
 Inheriteduid : String
对象的唯一标识符。
UIComponent
 InheritedupdateCompletePendingFlag : Boolean
一个标志,确定某个对象是否已通过所有三个阶段的布局验证(假设需要通过所有验证)。
UIComponent
 InheriteduseHandCursor : Boolean
布尔值,表示当指针滑过 buttonMode 属性设置为 true 的 sprite 时是否显示指针手形(手形光标)。
Sprite
 InheritedvalidationSubField : String
供验证程序用来将子字段与此组件相关联。
UIComponent
 Inheritedvalue : Object
[只读] 所选项目,或者所选项目的数据或标签字段。
ListBase
 InheritedvariableRowHeight : Boolean
一个标志,指示各行是否可以采用不同的高度。
ListBase
 InheritedverticalCenter : Object
对于组件,此布局约束属性是基于类似命名的样式的外观。
UIComponent
 InheritedverticalScrollPolicy : String
指示垂直滚动条是始终启用、始终禁用还是自动根据传递到 setScrollBarProperties() 方法的参数进行更改的属性。
ScrollControlBase
 InheritedverticalScrollPosition : Number
顶边到内容的偏移量。
ScrollControlBase
 InheritedviewMetrics : EdgeMetrics
[只读] 考虑滚动条(如果可见)的 EdgeMetrics 对象。
ScrollControlBase
 Inheritedvisible : Boolean
[覆盖] 显示对象是否可见。
UIComponent
 Inheritedwidth : Number
[覆盖] 指定组件在父坐标中的宽度的数字(以像素为单位)。
UIComponent
 InheritedwordWrap : Boolean
一个标志,指示行中的文本是否应自动换行。
ListBase
 Inheritedx : Number
[覆盖] 指定组件在其父容器中的水平位置(以像素为单位)的数字。
UIComponent
 Inheritedy : Number
[覆盖] 指定组件在其父容器中的垂直位置(以像素为单位)的数字。
UIComponent
 Inheritedz : Number
[覆盖] 表示 DisplayObject 实例相对于 3D 父容器沿 z 轴的 z 坐标位置。
UIComponent
受保护的属性
 属性由以下参数定义
 InheritedactualCollection : ICollectionView
通常存储于运行数据更改效果时使用的 collection 中的值副本。
ListBase
 InheritedactualIterator : IViewCursor
通常存储于运行数据更改效果时使用的 iterator 中的值副本。
ListBase
 InheritedallowItemSizeChangeNotification : Boolean
[只写] 如果设置为 false,则呈示器无法使 List 的大小失效.
ListBase
 InheritedanchorBookmark : CursorBookmark
作为锚点的项目的书签。
ListBase
 InheritedanchorIndex : int = -1
作为选择锚点的数据提供程序中项目的偏移量。
ListBase
 Inheritedborder : IFlexDisplayObject
边框对象。
ScrollControlBase
 InheritedcachedItemsChangeEffect : IEffect = null
当控件的数据提供程序中发生更改时播放的效果,通过 itemsChangeEffect 样式设置。
ListBase
 InheritedcaretBookmark : CursorBookmark
尖号下方项目的书签。
ListBase
 InheritedcaretIndex : int = -1
作为选择尖号点的数据提供程序中项目的偏移量。
ListBase
 InheritedcaretIndicator : Sprite
包含图形的 DisplayObject,该图形指示哪个呈示器是尖号。
ListBase
 InheritedcaretItemRenderer : IListItemRenderer
尖号下方项目的呈示器。
ListBase
 InheritedcaretUID : String
尖号下方项目的 UID。
ListBase
 Inheritedcollection : ICollectionView
用于提供数据提供程序的 ICollectionView。
ListBase
 InheritedcurrentCSSState : String
[只读] 匹配 CSS 伪选择器时要使用的状态。
UIComponent
 InheriteddataEffectCompleted : Boolean = false
一个标志,指示数据更改效果已完成。
ListBase
 InheriteddataItemWrappersByRenderer : Dictionary
将项呈示器映射到 ItemWrappers(用于提供其数据)的 dictionary。
ListBase
 InheriteddefaultColumnCount : int = 4
要显示的默认列数。
ListBase
 InheriteddefaultRowCount : int = 4
要显示的默认行数。
ListBase
 InheriteddragImage : IUIComponent
[只读] 获取可显示拖放操作中的可视效果的类实例。
ListBase
 InheriteddragImageOffsets : Point
[只读] 获取所拖动图像在拖放后的偏移量。
ListBase
 InheritedexplicitColumnCount : int = -1
显式设置 columnCount 属性时需要的列计数。
ListBase
 InheritedexplicitColumnWidth : Number
显式设置 columnWidth 时需要的列宽。
ListBase
 InheritedexplicitRowCount : int = -1
显式设置 rowCount 时需要的行计数。
ListBase
 InheritedexplicitRowHeight : Number
显式设置 rowHeight 时需要的行高。
ListBase
 InheritedfactoryMap : Dictionary
项呈示器基于工厂的映射。
ListBase
 InheritedfreeItemRenderers : Array
闲置项呈示器的堆栈。
ListBase
 InheritedfreeItemRenderersByFactory : Dictionary
空闲项呈示器基于工厂的映射。
ListBase
 InheritedhasComplexLayoutMatrix : Boolean
[只读] 如果 UIComponent 具有任何非平移 (x,y) 转换属性,则返回 true。
UIComponent
 InheritedhighlightIndicator : Sprite
包含图形的 DisplayObject,用以指示加亮哪个呈示器。
ListBase
 InheritedhighlightItemRenderer : IListItemRenderer
当前滚动到尖号上方或下方的呈示器。
ListBase
 InheritedhighlightUID : String
当前滚动到尖号上方或下方的项目的 UID。
ListBase
 InheritedhorizontalScrollBar : ScrollBar
水平滚动条。
ScrollControlBase
 InheriteditemsNeedMeasurement : Boolean = true
一个标志,指示是否需要计算 columnWidth 和 rowHeight 属性。
ListBase
 InheriteditemsSizeChanged : Boolean = false
一个标志,指示呈示器的大小可能已更改。
ListBase
 Inheritediterator : IViewCursor
主 IViewCursor,用于从数据提供程序中获取项目并将这些项目传递到呈示器。
ListBase
 InheritediteratorValid : Boolean = true
一个标志,指示发生页面错误和迭代器位置无效(未放置在所显示的最上方项目处)。
ListBase
 InheritedkeySelectionPending : Boolean = false
一个标志,指示键盘选择是否由于页面错误而中断。
ListBase
 InheritedlastDropIndex : int
最近计算出的索引,这是拖动项目在放置目标中的添加位置。
ListBase
 InheritedlastSeekPending : ListBaseSeekPending
导致页面错误的最新一次搜索。
ListBase
 InheritedlistContent : ListBaseContentHolder
一个内部显示对象,是所有项呈示器、选择内容、亮显指示符以及其它支持图形的父级。
ListBase
 InheritedlistContentStyleFilters : Object
[只读] 从 ListBase 传递到 listContent 的一组样式。
ListBase
 InheritedlistItems : Array
[只读] 一个由数组组成的数组,其中包含用于呈示每个数据提供程序项目的 itemRenderer 实例。
ListBase
 InheritedmaskShape : Shape
遮罩。
ScrollControlBase
 InheritedmeasuringObjects : Dictionary
工厂设置的度量对象的缓存
List
 InheritedmodifiedCollectionView : ModifiedCollectionView
集合视图,用于暂时保留上次的数据提供程序状态,以方便运行数据更改效果。
ListBase
 InheritedoffscreenExtraColumns : int = 0
用于控件布局的项呈示器的额外列的目标数量。
ListBase
 InheritedoffscreenExtraColumnsLeft : int = 0
当前位于最左侧可视列左侧的屏幕外的列数。
ListBase
 InheritedoffscreenExtraColumnsRight : int = 0
当前位于最右侧可视列右侧的屏幕外的列数。
ListBase
 InheritedoffscreenExtraRows : int = 0
要用于控件布局的项呈示器中额外行的目标数量。
ListBase
 InheritedoffscreenExtraRowsBottom : int = 0
当前位于底部可视呈示器下方的屏幕外的项目数。
ListBase
 InheritedoffscreenExtraRowsOrColumnsChanged : Boolean = false
一个标志,指示屏幕外的行数或列数可能已更改。
ListBase
 InheritedoffscreenExtraRowsTop : int = 0
当前位于最顶部可见行上方的屏幕外的行数。
ListBase
 InheritedrendererChanged : Boolean = false
一个标志,指示呈示器已更改。
ListBase
 InheritedreservedItemRenderers : Object
当前闲置但近期可能会用到的项呈示器的哈希映射。
ListBase
 InheritedresourceManager : IResourceManager
[只读] 对管理所有应用程序本地化资源的对象的引用。
UIComponent
 InheritedrowInfo : Array
[只读] ListRowInfo 对象数组,这些对象用于缓存行高和 listItems 中行的其它跟踪信息。
ListBase
 InheritedrowMap : Object
项呈示器与其各自 ListRowInfo 对象的哈希映射。
ListBase
 InheritedrunDataEffectNextUpdate : Boolean = false
一个标志,指示下次更新显示时是否应该启动数据效果。
ListBase
 InheritedrunningDataEffect : Boolean = false
一个标志,指示当前是否正在运行数据更改效果。
ListBase
 InheritedscrollAreaChanged : Boolean
一个标志,指示滚动区域随滚动条的出现或消失进行更改。
ScrollControlBase
 InheritedselectedData : Object
用于跟踪当前所选项目的 ListBaseSelectionData 对象的哈希表。
ListBase
 InheritedselectionIndicators : Object
所选指示符的哈希表。
ListBase
 InheritedselectionLayer : Sprite
listContent 中的图层,用于绘制所有选择内容和加亮指示符。
ListBase
 InheritedselectionTweens : Object
所选内容补间的哈希表。
ListBase
 InheritedshowCaret : Boolean
一个标志,指示是否显示尖号。
ListBase
 InheritedunconstrainedRenderers : Dictionary
不受列表布局算法影响的项呈示器的哈希映射。
ListBase
 InheritedunscaledHeight : Number
[只读] 用于确定组件的未缩放高度的简便方法。
UIComponent
 InheritedunscaledWidth : Number
[只读] 用于确定组件的未缩放宽度的简便方法。组件的绘图和子布局的所有设置均应在以此宽度为宽的矩形边框中完成,还应将此宽度作为参数传递到 updateDisplayList() 中。
UIComponent
 InheritedverticalScrollBar : ScrollBar
垂直滚动条。
ScrollControlBase
 InheritedvisibleData : Object
[只读] 视图中当前使用的数据提供程序项呈示器的哈希表。
ListBase
 InheritedwordWrapChanged : Boolean = false
一个标志,指示自上次更新显示列表后 wordWrap 属性值是否已更改。
ListBase
公共方法
 方法由以下参数定义
  
    FileSystemList()
构造函数。
FileSystemList
 Inherited
将一个 DisplayObject 子实例添加到该 DisplayObjectContainer 实例中。
DisplayObjectContainer
 Inherited
将一个 DisplayObject 子实例添加到该 DisplayObjectContainer 实例中。
DisplayObjectContainer
 Inherited
如果正在运行数据更改效果,则添加项呈示器。
ListBase
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。
EventDispatcher
 Inherited
将非可视样式客户端添加到该组件实例。
UIComponent
 Inherited
表示安全限制是否会导致出现以下情况:在列表中忽略了使用指定 point 点调用 DisplayObjectContainer.getObjectsUnderPoint() 方法时返回的所有显示对象。
DisplayObjectContainer
 Inherited
返回将放置项目添加到放置目标中的位置的索引。
ListBase
 Inherited
callLater(method:Function, args:Array = null):void
排队稍后调用的函数。
UIComponent
  
    clear():void
清除此控件,使其不显示任何项目。
FileSystemList
 Inherited
删除此组件实例的样式属性。
UIComponent
 Inherited
确定指定显示对象是 DisplayObjectContainer 实例的子项还是该实例本身。
DisplayObjectContainer
 Inherited
将 Point 对象由内容坐标转换为全局坐标。
UIComponent
 Inherited
将 Point 对象由内容坐标转换为本地坐标。
UIComponent
 Inherited
返回标识此容器中的子项的一组属性。
UIComponent
 Inherited
返回标识此容器中的子项的一组属性。
UIComponent
 Inherited
createItemEditor(colIndex:int, rowIndex:int):void
使用由 itemEditor 属性指定的编辑器在 editedItemPosition 为项呈示器创建项目编辑器。
List
 Inherited
[覆盖] 获取适当的呈示器,如果未指定呈示器,则使用默认呈示器。
List
 Inherited
在 IUIComponent 对象的父项文档对象上创建对此对象的 id 引用。
UIComponent
 Inherited
在 IUIComponent 对象的父项文档对象上删除对此对象的 id 引用。
UIComponent
 Inherited
关闭当前在某个项目上打开的项目编辑器。
List
 Inherited
返回与此 UIComponent 的文本样式对应的 UITextFormat 对象。
UIComponent
 Inherited
[覆盖] 将事件调度到事件流中。
UIComponent
 Inherited
在此组件周围显示或隐藏焦点指示符。
UIComponent
 Inherited
drawRoundRect(x:Number, y:Number, w:Number, h:Number, r:Object = null, c:Object = null, alpha:Object = null, rot:Object = null, gradient:String = null, ratios:Array = null, hole:Object = null):void
通过编程方式在此外观的 Graphics 对象中绘制一个矩形。
UIComponent
 Inherited
停止在组件上播放效果实例时,由效果实例调用。
UIComponent
 Inherited
开始在组件上播放效果实例时,由效果实例调用。
UIComponent
 Inherited
结束组件上当前播放的所有效果。
UIComponent
 Inherited
executeBindings(recurse:Boolean = false):void
执行 UIComponent 对象是目标的所有绑定。
UIComponent
  
    findIndex(nativePath:String):int
返回具有指定本机文件系统路径的 File 项目的索引。
FileSystemList
  
    findItem(nativePath:String):File
搜索此控件中当前显示的 File 实例,并返回一个具有指定 nativePath 属性的实例。
FileSystemList
 Inherited
根据 String 查找列表中的项目,并将所选内容移至该项目。
ListBase
 Inherited
打印完成后调用。
UIComponent
 Inherited
在指定的索引位置提供自动化对象。
UIComponent
 Inherited
提供自动化对象列表。
UIComponent
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
返回一个矩形,该矩形定义相对于 targetCoordinateSpace 对象坐标系的显示对象区域。
DisplayObject
 Inherited
getBoundsXAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
按指定的元素大小,返回元素边界的 x 坐标。
UIComponent
 Inherited
getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
按指定的元素大小,返回元素边界的 y 坐标。
UIComponent
 Inherited
返回位于指定索引处的子显示对象实例。
DisplayObjectContainer
 Inherited
返回具有指定名称的子显示对象。
DisplayObjectContainer
 Inherited
返回 DisplayObject 的 child 实例的索引位置。
DisplayObjectContainer
 Inherited
查找此 UIComponent 实例的类型选择器。
UIComponent
 Inherited
getConstraintValue(constraintName:String):*
返回一个约束布局值,这与获取此组件的约束样式的方式类似。
UIComponent
 Inherited
确定是使用显式高度还是测量高度的一种简便方法
UIComponent
 Inherited
确定是使用显式宽度还是测量宽度的一种简便方法
UIComponent
 Inherited
获取当前具有焦点的对象。
UIComponent
 Inherited
返回相应的工厂;如果尚未指定,则使用默认工厂。
ListBase
 Inherited
getLayoutBoundsHeight(postLayoutTransform:Boolean = true):Number
返回元素的布局高度。
UIComponent
 Inherited
getLayoutBoundsWidth(postLayoutTransform:Boolean = true):Number
返回元素的布局宽度。
UIComponent
 Inherited
getLayoutBoundsX(postLayoutTransform:Boolean = true):Number
返回元素在屏幕上进行绘制时所用的 x 坐标。
UIComponent
 Inherited
getLayoutBoundsY(postLayoutTransform:Boolean = true):Number
返回元素在屏幕上进行绘制时所用的 y 坐标。
UIComponent
 Inherited
返回用于相对于其同级组件计算组件的布局的转换矩阵。
UIComponent
 Inherited
返回此元素的布局转换 Matrix3D。
UIComponent
 Inherited
getMaxBoundsHeight(postLayoutTransform:Boolean = true):Number
返回元素的最大高度。
UIComponent
 Inherited
getMaxBoundsWidth(postLayoutTransform:Boolean = true):Number
返回元素的最大宽度。
UIComponent
 Inherited
getMinBoundsHeight(postLayoutTransform:Boolean = true):Number
返回元素的最小高度。
UIComponent
 Inherited
getMinBoundsWidth(postLayoutTransform:Boolean = true):Number
返回元素的最小宽度。
UIComponent
 Inherited
返回对象的数组,这些对象位于指定点下,并且是该 DisplayObjectContainer 实例的子项(或孙子项,依此类推)。
DisplayObjectContainer
 Inherited
getPreferredBoundsHeight(postLayoutTransform:Boolean = true):Number
返回元素的首选高度。
UIComponent
 Inherited
getPreferredBoundsWidth(postLayoutTransform:Boolean = true):Number
返回元素的首选宽度。
UIComponent
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
返回一个矩形,该矩形根据 targetCoordinateSpace 参数定义的坐标系定义显示对象的边界,但不包括形状上的任何笔触。
DisplayObject
 Inherited
getRendererSemanticValue(target:Object, semanticProperty:String):Object
返回 true 或 false 以指示是否应在目标上播放效果。
ListBase
 Inherited
getRepeaterItem(whichRepeater:int = -1):Object
返回 dataProvider 中由指定的 Repeater 用来生成此 Repeater 的项目;如果此 Repeater 未重复,则返回 null。
UIComponent
 Inherited
getStyle(styleProp:String):*
获取已在此组件的样式查找链中的某个位置设置过的样式属性。
UIComponent
 Inherited
将 Point 对象由全局坐标转换为内容坐标。
UIComponent
 Inherited
将 point 对象从舞台(全局)坐标转换为显示对象的(本地)坐标。
DisplayObject
 Inherited
将二维点从舞台(全局)坐标转换为三维显示对象的(本地)坐标。
DisplayObject
 Inherited
如果 currentCSSState 不为 null,则返回 true。
UIComponent
 Inherited
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。
EventDispatcher
 Inherited
表示对象是否已经定义了指定的属性。
Object
 Inherited
确定是否已在此 UIComponent 上定义指定的状态。
UIComponent
 Inherited
在鼠标指针下方隐藏指示允许执行拖放操作的拖放指示符。
ListBase
 Inherited
计算显示对象的边框,以确定它是否与 obj 显示对象的边框重叠或相交。
DisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
计算显示对象,以确定它是否与 x 和 y 参数指定的点重叠或相交。
DisplayObject
 Inherited
返回一个框 Matrix,在绘制水平渐变时可以将其作为 rot 参数传递给 drawRoundRect() 方法。
UIComponent
 Inherited
针对数据提供程序中某个项目的索引获取项呈示器(如果存在)。
ListBase
 Inherited
indicesToIndex(rowIndex:int, colIndex:int):int
计算 colIndex 和 rowIndex 处项目的数据提供程序中的偏移量。
ListBase
 Inherited
初始化此组件的内部结构。
UIComponent
 Inherited
初始化用于跟踪此组件的重复实例的各个属性。
UIComponent
 Inherited
标记组件,以便在稍后屏幕更新期间调用该组件的 updateDisplayList() 方法。
UIComponent
 Inherited
由某个组件的项目进行调用,以指示其 depth 属性已更改。
UIComponent
 Inherited
当某元素的 layoutDirection 更改或其父代的 layoutDirection 更改时,该元素必须调用该方法。
UIComponent
 Inherited
在下次更新时刷新所有行。
ListBase
 Inherited
标记组件,以便在稍后屏幕更新期间调用该组件的 commitProperties() 方法。
UIComponent
 Inherited
标记组件,以便在稍后屏幕更新期间调用该组件的 measure() 方法。
UIComponent
 Inherited
确定数据提供程序项目的项呈示器是否可编辑。
List
 Inherited
确定是否加亮显示数据提供者项目的项呈示器(当鼠标滑过它,或者通过键盘导航使它位于尖号下方时)。
ListBase
 Inherited
确定数据提供程序项目的项呈示器是否可选。
ListBase
 Inherited
确定是否已选中数据提供程序项目的项呈示器。
ListBase
 Inherited
确定数据提供程序项的项呈示器是否为键盘导航后位于尖号下方的项。
ListBase
 Inherited
确定呈示器是否显示某个项目。
ListBase
 Inherited
表示 Object 类的实例是否在指定为参数的对象的原型链中。
Object
 Inherited
确定呈示器是否包含(或拥有)显示对象。
ListBase
 Inherited
返回通过此项呈示器呈示的该项目在数据提供程序中的项目索引。
ListBase
 Inherited
返回呈示器根据 dataTipField 和 dataTipFunction 属性显示给定数据对象的数据提示字符串。
ListBase
 Inherited
根据 iconField 和 iconFunction 属性返回表示数据项目图标的类(如果存在)。
ListBase
 Inherited
返回数据提供程序中给定项目的项呈示器(如果存在)。
ListBase
 Inherited
返回呈示器根据 labelField 和 labelFunction 属性显示给定数据对象的字符串。
ListBase
 Inherited
将三维显示对象的(本地)坐标的三维点转换为舞台(全局)坐标中的二维点。
DisplayObject
 Inherited
将 Point 对象由本地坐标转换为内容坐标。
UIComponent
 Inherited
将 point 对象从显示对象的(本地)坐标转换为舞台(全局)坐标。
DisplayObject
 Inherited
如果 cssState 与 currentCSSState 匹配,则返回 true。
UIComponent
 Inherited
确定此实例与给定类型相同,还是属于给定类型的子类。
UIComponent
 Inherited
measureHeightOfItems(index:int = -1, count:int = 0):Number
使用当前项呈示器测量数据提供程序中的一组项目,并返回这些项目的高度之和。
ListBase
 Inherited
测量指定的 HTML 文本(该文本中可能包含 <font> 和 <b> 等 HTML 标签),假定该文本显示在单行 UITextField(使用由此 UIComponent 的样式确定的 UITextFormat)中。
UIComponent
 Inherited
测量指定的文本,假定该文本使用由此 UIComponent 的样式确定的 UITextFormat 显示在单行 UITextField(或 UIFTETextField)中。
UIComponent
 Inherited
measureWidthOfItems(index:int = -1, count:int = 0):Number
使用当前项呈示器测量数据提供程序中的一组项目,并返回找到的最大宽度。
ListBase
 Inherited
将组件移动到其父项内的指定位置。
UIComponent
  
    navigateBack(index:int = 0):void
更改此控件可显示 backHistory 数组中上次访问过的目录中的内容。
FileSystemList
  
    navigateDown():void
更改此控件可显示所选子目录的内容。
FileSystemList
  
    navigateForward(index:int = 0):void
更改此控件可显示 forwardHistory 数组中上次访问过的目录中的内容。
FileSystemList
  
    navigateTo(directory:File):void
更改此控件可显示指定目录的内容。
FileSystemList
  
    navigateUp():void
更改此控件可显示层次结构中上一目录的内容。
FileSystemList
 Inherited
将样式更改传播到子项。
UIComponent
 Inherited
如果 owner 属性链从 child 指向此 UIComponent,则返回 true。
UIComponent
 Inherited
当在父项中添加或删除 UIComponent 对象时由 Flex 调用。
UIComponent
 Inherited
准备 IFlexDisplayObject 用于打印。
UIComponent
 Inherited
表示指定的属性是否存在、是否可枚举。
Object
  
    refresh():void
重新枚举此控件显示的当前目录。
FileSystemList
 Inherited
为此组件及其所有后代生成或重新生成 CSS 样式缓存,前提条件是递归参数为 true。
UIComponent
 Inherited
针对每个效果事件,将 EffectManager 注册为一个事件侦听器。
UIComponent
 Inherited
从 DisplayObjectContainer 实例的子列表中删除指定的 child DisplayObject 实例。
DisplayObjectContainer
 Inherited
从 DisplayObjectContainer 的子列表中指定的 index 位置删除子 DisplayObject。
DisplayObjectContainer
 Inherited
removeChildren(beginIndex:int = 0, endIndex:int = 0x7fffffff):void
从 DisplayObjectContainer 实例的子级列表中删除所有子 DisplayObject 实例。
DisplayObjectContainer
 Inherited
如果正在运行数据更改效果,则移除项呈示器。
ListBase
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
从 EventDispatcher 对象中删除侦听器。
EventDispatcher
 Inherited
从该组件实例删除非可视样式客户端。
UIComponent
 Inherited
重放指定的事件。
UIComponent
 Inherited
显示虚拟键盘。
InteractiveObject
 Inherited
使用提供的 ID 解析子项。
UIComponent
 Inherited
[静态] 在调用 suspendBackgroundProcessing() 之后继续对使用 callLater() 排队的方法进行背景处理。
UIComponent
 Inherited
确保给定索引处的数据提供程序项目可见。
ListBase
 Inherited
调整对象大小。
UIComponent
 Inherited
更改现有子项在显示对象容器中的位置。
DisplayObjectContainer
 Inherited
setConstraintValue(constraintName:String, value:*):void
设置一个布局约束值的方式,与设置此组件的约束样式的方式相同。
UIComponent
 Inherited
setCurrentState(stateName:String, playTransition:Boolean = true):void
设置当前状态。
UIComponent
 Inherited
设置此组件的焦点。
UIComponent
 Inherited
setLayoutBoundsPosition(x:Number, y:Number, postLayoutTransform:Boolean = true):void
设置元素在屏幕上进行绘制时所用的坐标。
UIComponent
 Inherited
setLayoutBoundsSize(width:Number, height:Number, postLayoutTransform:Boolean = true):void
设置元素的布局大小。
UIComponent
 Inherited
setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void
设置用于相对于其同级组件计算组件的布局大小和位置的转换 Matrix。
UIComponent
 Inherited
setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void
设置用于计算组件相对于其同级组件的布局大小和位置的转换 Matrix3D。
UIComponent
 Inherited
设置循环操作动态属性的可用性。
Object
 Inherited
setStyle(styleProp:String, newValue:*):void
对此组件实例设置样式属性。
UIComponent
 Inherited
setVisible(value:Boolean, noEvent:Boolean = false):void
当 visible 属性发生更改时调用。
UIComponent
 Inherited
在鼠标指针下方显示拖放指示符表示允许拖放操作以及项目的放置位置。
ListBase
 Inherited
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
允许用户拖动指定的 Sprite。
Sprite
 Inherited
startTouchDrag(touchPointID:int, lockCenter:Boolean = false, bounds:Rectangle = null):void
使用户可以在启用触摸的设备上拖动指定的 Sprite。
Sprite
 Inherited
对源起于此对象的所有 MovieClip 递归停止时间轴执行。
DisplayObjectContainer
 Inherited
结束 startDrag() 方法。
Sprite
 Inherited
stopTouchDrag(touchPointID:int):void
结束 startTouchDrag() 方法,用于启用触摸的设备。
Sprite
 Inherited
检测对样式属性的更改。
UIComponent
 Inherited
首次初始化组件样式时,Flex 会调用 stylesInitialized() 方法。
UIComponent
 Inherited
[静态] 阻止对使用 callLater() 排队的方法进行背景处理,直到调用 resumeBackgroundProcessing() 为止。
UIComponent
 Inherited
交换两个指定子对象的 Z 轴顺序(从前到后顺序)。
DisplayObjectContainer
 Inherited
swapChildrenAt(index1:int, index2:int):void
在子级列表中两个指定的索引位置,交换子对象的 Z 轴顺序(前后顺序)。
DisplayObjectContainer
 Inherited
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。
Object
 Inherited
[覆盖] 返回一个字符串,用于指示此对象在应用程序的 DisplayObject 层次结构中所处的位置。
FlexSprite
 Inherited
transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void
用于更新转换的旋转、缩放和平移的一种实用程序方法,同时保留某个特定点,该点是在组件自己的坐标空间中指定的,且在父项的坐标空间中是固定的。
UIComponent
 Inherited
transformPointToParent(localPosition:Vector3D, position:Vector3D, postLayoutPosition:Vector3D):void
一种实用程序方法,用于将以该对象的本地坐标指定的点转换为在该对象父坐标中的相应位置。
UIComponent
 Inherited
如果对应于特定数据项目的项呈示器需要移动到控件中项呈示器的正常位置之外,则将作为数据更改效果的一部分由 UnconstrainItemAction 效果调用。
ListBase
 Inherited
验证子项的位置和大小,并绘制其他可视内容。
UIComponent
 Inherited
验证并更新此对象的属性和布局,如果需要的话重绘对象。
UIComponent
 Inherited
由布局逻辑用于通过调用 commitProperties() 方法来验证组件的属性。
UIComponent
 Inherited
validateSize(recursive:Boolean = false):void
如果使用此 ILayoutManagerClient 调用 LayoutManager.invalidateSize() 方法,随后在测量时调用了 validateSize() 方法,则验证组件的度量大小。
UIComponent
 Inherited
处理分配给此组件的验证程序调度的 valid 和 invalid 事件。
UIComponent
 Inherited
返回指定对象的原始值。
Object
 Inherited
返回一个框 Matrix,在绘制垂直渐变时可以将其作为 rot 参数传递给 drawRoundRect()。
UIComponent
 Inherited
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。
EventDispatcher
受保护的方法
 方法由以下参数定义
 Inherited
addDragData(dragSource:Object):void
作为拖放操作的一部分,将所选项目添加到 DragSource 对象。
ListBase
 Inherited
将呈示器添加到循环使用的呈示器列表,使其不可见并清除对该呈示器的引用。
ListBase
 Inherited
从用于存储对行的引用的数组开头添加一个空白行。
ListBase
 Inherited
调整焦点矩形。
UIComponent
 Inherited
adjustListContent(unscaledWidth:Number = -1, unscaledHeight:Number = -1):void
从 updateDisplayList() 方法中调用,用以调整 listContent 的大小和位置。
ListBase
 Inherited
提交计算的矩阵,该矩阵是基于布局矩阵以及 flash displayObject 的转换的转换偏移量而构建的。
UIComponent
 Inherited
设置应用选择指示符的效果。
ListBase
 Inherited
这是一个内部方法,供 Flex 框架用于支持 Dissolve 效果。
UIComponent
 Inherited
在执行拖放操作时计算拖放指示符的 y 位置。
ListBase
 Inherited
确定是否可以跳过对 measure() 方法的调用。
UIComponent
 Inherited
创建子对象后执行任何最终处理。
UIComponent
 Inherited
清除给定 Sprite 中的尖号指示符。
ListBase
 Inherited
清除给定 Sprite 中的加亮指示符。
ListBase
 Inherited
删除所有选定、加亮显示和尖号指示符。
ListBase
 Inherited
clearSelected(transition:Boolean = false):void
清除所选项目组,并移除表示那些项目的选定状态的所有图形。
ListBase
 Inherited
清空 visibleData 哈希表。
ListBase
 Inherited
当数据发生更改时,处理从数据提供程序中调度的 CollectionEvent。
ListBase
 Inherited
[覆盖] 根据是否已显式设置 columnCountcolumnWidth、rowHeight 和 rowCount 等属性来计算列宽、行高以及行数和列数。
ListBase
 Inherited
根据行数、列数以及可查看的行和列配置 ScrollBar。
ListBase
 Inherited
通过调用 ObjectUtil.copy() 方法为此对象制作一个深层副本,然后通过调用 UIDUtil.createUID() 方法用一个新值替代该副本的 uid 属性(如果存在)。
ListBase
 Inherited
copySelectedItems(useDataField:Boolean = true):Array
按照选择时的顺序复制所选项目。
ListBase
 Inherited
为此组件创建边框。
ScrollControlBase
 Inherited
[覆盖] 创建对象作为此 ListBase 的子对象,在这种情况下为将容纳所有项呈示器的 listContent 对象。
ListBase
 Inherited
根据所用的嵌入字体使用上下文创建新对象。
UIComponent
 Inherited
使用给定的 moduleFactory 创建对象。
UIComponent
 Inherited
destroyRow(i:int, numCols:int):void
循环使用不再需要的行,并删除其指示符。
ListBase
 Inherited
dispatchPropertyChangeEvent(prop:String, oldValue:*, value:*):void
更新属性时调度 PropertyChangeEvent 的 Helper 方法。
UIComponent
 Inherited
处理 DragEvent.DRAG_COMPLETE 事件。
ListBase
 Inherited
处理 DragEvent.DRAG_DROP 事件。
ListBase
 Inherited
处理 DragEvent.DRAG_ENTER 事件。
ListBase
 Inherited
处理 DragEvent.DRAG_EXIT 事件。
ListBase
 Inherited
处理 DragEvent.DRAG_OVER 事件。
ListBase
 Inherited
Interval 函数,用于在鼠标位于列表上方或下方时上下滚动列表。
ListBase
 Inherited
dragStart 事件的默认处理函数。
ListBase
 Inherited
drawCaretIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void
使用指定的颜色在给定的 Sprite 中采用指定的位置、宽度和高度绘制尖号指示符。
ListBase
 Inherited
drawHighlightIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void
使用指定的颜色在给定的 Sprite 中采用指定的位置、宽度和高度绘制加亮指示符。
ListBase
 Inherited
drawItem(item:IListItemRenderer, selected:Boolean = false, highlighted:Boolean = false, caret:Boolean = false, transition:Boolean = false):void
绘制带有指示符(加亮显示的或选中的)或尖号的呈示器。
ListBase
 Inherited
drawRowBackground(s:Sprite, rowIndex:int, y:Number, height:Number, color:uint, dataIndex:int):void
在指定的位置以指定高度绘制行背景。
List
 Inherited
绘制行中所有交替行的颜色、边框和背景。
ListBase
 Inherited
drawSelectionIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void
使用指定的颜色在给定的 Sprite 中采用指定的位置、宽度和高度绘制选择指示符。
ListBase
 Inherited
停止编辑数据提供程序中的项目。
List
 Inherited
findKey(eventCode:int):Boolean
尝试在数据提供程序中查找下一个以 eventCode 参数中的字符开头的项目。
ListBase
 Inherited
在数据更改效果运行完毕后,通过恢复原始集合和迭代器并移除此效果使用的所有缓存值进行清理。
ListBase
 Inherited
基于 caretIndex 和 anchorIndex 属性设置所选项目。
ListBase
 Inherited
当 UIComponent 对象获得焦点时调用的事件处理函数。
UIComponent
 Inherited
当 UIComponent 对象失去焦点时调用的事件处理函数。
UIComponent
 Inherited
检索已创建但当前未使用的项呈示器。
ListBase
 Inherited
给定索引处数据提供程序项目所在的列。
ListBase
 Inherited
给定索引处数据提供程序项目所在的行。
ListBase
 Inherited
对于组件的某些不常使用的高级布局功能,初始化其实现和存储。
UIComponent
 Inherited
完成对此组件的初始化。
UIComponent
 Inherited
初始化此组件的辅助功能代码。
UIComponent
 Inherited
initiateDataChangeEffect(unscaledWidth:Number, unscaledHeight:Number):void
当数据提供程序中发生更改时应用数据更改效果。
ListBase
 Inherited
此对象影响其布局时(includeInLayout 为 true),使父代大小和显示列表失效的 Helper 方法。
UIComponent
 Inherited
通常由包含 UITextField 对象的组件覆盖,其中 UITextField 对象获取焦点。
UIComponent
 Inherited
如果项呈示器不再根据列表的布局算法定位,则返回 true,尽管由于调用 unconstrainRenderer() 方法正在运行数据更改效果。
ListBase
 Inherited
返回一个包含项呈示器的 columnIndex 和 rowIndex 的点。
ListBase
 Inherited
确定数据提供程序项目的 UID。
ListBase
 Inherited
为 keyDown 事件调用的事件处理函数。
UIComponent
 Inherited
为 keyUp 事件调用的事件处理函数。
UIComponent
 Inherited
layoutChrome(unscaledWidth:Number, unscaledHeight:Number):void
通过设置此控件边框的位置和大小来响应大小更改。
ScrollControlBase
 Inherited
在建议的位置使用建议的尺寸放置项目编辑器实例。
List
 Inherited
创建新的 ListData 实例并根据输入数据提供程序项目填充字段。
List
 Inherited
makeRowsAndColumns(left:Number, top:Number, right:Number, bottom:Number, firstColumn:int, firstRow:int, byCount:Boolean = false, rowsNeeded:uint = 0):Point
创建足够的行和列以填充左侧、顶部、右侧和底部描述的区域。
ListBase
 Inherited
[覆盖] 根据 rowCount、columnCount、rowHeight 和 columnWidth 属性计算组件的度量宽度和高度。
ListBase
 Inherited
处理列表中所有鼠标目标(包括呈示器)的 MouseEvent.MOUSE_CLICK 事件。
ListBase
 Inherited
处理列表中所有鼠标目标(包括呈示器)的 MouseEvent.MOUSE_DOUBLE_CLICK 事件。
ListBase
 Inherited
处理列表中所有鼠标目标(包括呈示器)的 MouseEvent.MOUSE_DOWN 事件。
ListBase
 Inherited
确定哪种项呈示器位于鼠标下方。
ListBase
 Inherited
处理列表中所有鼠标目标(包括呈示器)的 MouseEvent.MOUSE_MOVE 事件。
ListBase
 Inherited
处理列表中所有鼠标目标(包括呈示器)的 MouseEvent.MOUSE_OUT 事件。
ListBase
 Inherited
处理列表中所有鼠标目标(包括呈示器)的 MouseEvent.MOUSE_OVER 事件。
ListBase
 Inherited
处理列表中所有鼠标目标(包括呈示器)的 MouseEvent.MOUSE_DOWN 事件。
ListBase
 Inherited
[覆盖] 通过更改滚动位置处理 mouseWheel 事件。
ListBase
 Inherited
水平移动所选项目并加亮指示符。
ListBase
 Inherited
moveIndicatorsVertically(uid:String, moveBlockDistance:Number):void
垂直移动所选项目并加亮指示符。
ListBase
 Inherited
moveRowVertically(i:int, numCols:int, moveBlockDistance:Number):void
垂直移动行,并更新 rowInfo 记录。
ListBase
 Inherited
沿水平方向移动所选项目,以响应用户使用向左键或向右键以及功能键(如 Shift 和 Ctrl 键)选择项目的操作。
ListBase
 Inherited
沿垂直方向移动所选项目,以响应用户使用向上键或向下键以及功能键(如 Shift 和 Ctrl 键)选择项目的操作。
ListBase
 Inherited
准备集合事件的数据效果。
ListBase
 Inherited
当呈示器发生更改时,updateDisplayList() 方法将调用此方法,用以删除现有的项呈示器并清理各种缓存结构。
ListBase
 Inherited
更新 visibleData 哈希表中的键。
ListBase
 Inherited
从用于存储对行的引用的数组中删除一行。
ListBase
 Inherited
清理数据提供程序中给定项目的选项亮显及其他关联图形。
ListBase
 Inherited
构建 UIComponent 时将调用此方法,并且每当 ResourceManager 调度“change”事件用于指示本地化资源已经过某种更改时,都会再次调用此方法。
UIComponent
 Inherited
从用于存储对行的引用的数组开头删除请求的行数。
ListBase
 Inherited
roomForScrollBar(bar:ScrollBar, unscaledWidth:Number, unscaledHeight:Number):Boolean
确定此组件中的空间是否足以显示给定的滚动条。
ScrollControlBase
 Inherited
scroll 事件的默认事件处理函数。
ScrollControlBase
 Inherited
scrollHorizontally(pos:int, deltaPos:int, scrollUp:Boolean):void
调整呈示器以响应滚动位置的更改。
ListBase
 Inherited
scrollPositionToIndex(horizontalScrollPosition:int, verticalScrollPosition:int):int
返回给定滚动位置第一个可见行和列处的项目的数据提供程序索引。
ListBase
 Inherited
scrollVertically(pos:int, deltaPos:int, scrollUp:Boolean):void
调整呈示器以响应滚动位置的更改。
ListBase
 Inherited
当由于页面错误而导致寻找失败时的默认故障处理函数。
ListBase
 Inherited
当由于页面错误而导致寻找失败时的默认结果处理函数。
ListBase
 Inherited
搜索位置,并在必要时处理 ItemPendingError。
ListBase
 Inherited
selectItem(item:IListItemRenderer, shiftKey:Boolean, ctrlKey:Boolean, transition:Boolean = true):Boolean
如果使用鼠标单击提供的项呈示器,并且键盘功能键处于给定状态,则更新所选项目组。
ListBase
 Inherited
设置 rowCount 属性不会导致 invalidation,也不会设置将永久锁定行数的 explicitRowCount 属性。
ListBase
 Inherited
设置 rowHeight 属性不会导致 invalidation,也不会设置将永久锁定行高的 explicitRowHeight。
ListBase
 Inherited
setScrollBarProperties(totalColumns:int, visibleColumns:int, totalRows:int, visibleRows:int):void
使 ScrollControlBase 基于传递的参数显示或隐藏滚动条。
ScrollControlBase
 Inherited
setStretchXY(stretchX:Number, stretchY:Number):void
在水平方向和垂直方向上,指定转换拉伸因子。
UIComponent
 Inherited
shiftRow(oldIndex:int, newIndex:int, numCols:int, shiftItems:Boolean):void
移动引用多行的数组中的某一行。
ListBase
 Inherited
stateChanged(oldState:String, newState:String, recursive:Boolean):void
当状态改变以检查状态特定的样式是否应用到此组件时,会调用此方法。
UIComponent
 Inherited
sumRowHeights(startRowIdx:int, endRowIdx:int):Number
确定所请求的行集的高度。
ListBase
 Inherited
从用于存储对行的引用的数组末端删除所有剩余行。
ListBase
 Inherited
如果项呈示器可见,则根据其 UID 进行查找。
ListBase
 Inherited
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
[覆盖] 当可显示的项目数发生更改时添加或移除项呈示器。
ListBase
 Inherited
刷新所有行。
ListBase
事件
 事件 摘要 由以下参数定义
 Inherited[广播事件] Flash Player 或 AIR 应用程序获得操作系统焦点并变为活动状态时将调度此事件。EventDispatcher
 Inherited当组件通过使用 addChild()、addChildAt()、addElement() 或 addElementAt() 方法作为内容子项添加到容器后调度。UIComponent
 Inherited将显示对象添加到显示列表中时调度。DisplayObject
 Inherited在将显示对象直接添加到舞台显示列表或将包含显示对象的子树添加至舞台显示列表中时调度。DisplayObject
 Inherited当用户操作导致 selectedIndex 或 selectedItem 属性发生变化时调度此事件。ListBase
 Inherited当用户从文本上下文菜单中选择“清除”(或“删除”)时调度。InteractiveObject
 Inherited用户在同一 InteractiveObject 上按下并释放用户指针设备的主按钮时调度。InteractiveObject
 Inherited
    contextMenu
当用户手势触发 AIR 应用程序中与此交互式对象相关联的上下文菜单时调度。InteractiveObject
 Inherited在用户为复制操作激活特定于平台的加速键组合或从文本上下文菜单中选择“复制”时调度。InteractiveObject
 Inherited当组件完成其构建、属性处理、测量、布置和绘制时调度。UIComponent
 Inherited视图状态更改后调度。UIComponent
 Inherited在 currentState 属性更改后但视图状态更改前调度。UIComponent
 Inherited在用户为剪切操作激活特定于平台的加速键组合或从文本上下文菜单中选择“剪切”时调度。InteractiveObject
 Inherited当 data 属性更改时进行调度。ListBase
 Inherited[广播事件] Flash Player 或 AIR 应用程序失去操作系统焦点并变为非活动状态时将调度此事件。EventDispatcher
  当此控件显示的目录由于某种原因发生更改时调度。FileSystemList
  当用户尝试更改此控件显示的目录时调度此事件。FileSystemList
 Inherited如果 InteractiveObject 的 doubleClickEnabled 标志设置为 true,当用户在该对象上快速连续按下两次并释放指针设备的主按钮时调度。InteractiveObject
 Inherited在拖动操作完成时(将拖动的数据放到放置目标时或在没有执行放置操作的情况下结束拖放操作时)由拖动启动器(作为要拖动的数据源的组件)调度。UIComponent
 Inherited用户在放置目标上释放鼠标时由放置目标调度。UIComponent
 Inherited当用户在拖动操作过程中将鼠标移动到某个组件所处的位置时,由该组件调度。UIComponent
 Inherited用户在组件外拖动但没有将数据放置到目标时,由组件调度。UIComponent
 Inherited在拖动操作期间,当用户在鼠标位于组件上方的情况下移动鼠标时,由组件调度。UIComponent
 Inherited启动拖动操作时,由拖动启动器调度。UIComponent
 Inherited在一个效果结束后调度。UIComponent
 Inherited在即将开始播放效果前调度。UIComponent
 Inherited在停止某个效果(仅当对该效果调用 stop() 时发生)之后调度。UIComponent
 Inherited[播放事件] 播放头进入新帧时调度。DisplayObject
 Inherited在组件已进入视图状态之后调度。UIComponent
 Inherited[广播事件] 播放头退出当前帧时调度。DisplayObject
 Inherited在组件即将退出视图状态之前调度。UIComponent
  
    fileChoose
当用户通过双击文件或选择文件并按 Enter 键来选择文件时调度此事件。FileSystemList
 Inherited显示对象获得焦点后调度。InteractiveObject
 Inherited显示对象失去焦点后调度。InteractiveObject
 Inherited[广播事件] 在帧显示对象的构造函数运行之后但在帧脚本运行之前调度。DisplayObject
 Inherited当用户使用 InteractiveObject 实例沿触摸面边缘创建接触点时调度(如在 Siri Remote for Apple TV 上沿触摸面边缘轻击)。有些设备也可能将这种接触解释为多个触摸事件的组合。InteractiveObject
 Inherited当用户在启用触摸设备上的同一 InteractiveObject 实例上按下两个接触点时(例如,在配有触摸屏的移动电话或平板电脑上的显示对象上按下和释放两个手指)调度。InteractiveObject
 Inherited当用户在启用触摸的设备上的 InteractiveObject 实例上移动接触点时(例如,在配有触摸屏的移动电话或平板电脑上的显示对象上从左向右移动手指)调度。InteractiveObject
 Inherited当用户在接触点处使用 InteractiveObject 实例执行旋转手势时(例如,将两个手指放在屏幕上,然后在配有触摸屏的移动电话或平板电脑上的显示对象上旋转这两个手指)调度。InteractiveObject
 Inherited当用户在接触点处使用 InteractiveObject 实例执行滑动手势(例如,在配有触摸屏的移动电话或平板电脑上用三根手指触摸屏幕,然后在一个显示对象上平行移动这三根手指)时调度。InteractiveObject
 Inherited当用户使用 InteractiveObject 实例创建接触点,然后点击启用触屏的设备时(例如,将几个手指放在显示对象上以打开菜单,然后点击一个手指在配有触摸屏的移动电话或平板电脑上选择一个菜单项)调度。InteractiveObject
 Inherited当用户在接触点处使用 InteractiveObject 实例执行缩放手势操作时(例如,将两个手指放在屏幕上,然后在配有触摸屏的移动电话或平板电脑上的显示对象上快速分开手指)调度。InteractiveObject
 Inherited当对象的状态从可见变为不可见时调度。UIComponent
 Inherited此事件被调度到任何支持使用 IME 进行内联输入的客户端应用程序InteractiveObject
 Inherited当组件完成构建并设置了所有初始化属性后调度。UIComponent
 Inherited当组件由 Validator 监控且未通过验证时调度。UIComponent
 Inherited当用户单击控件中的某个项目时调度此事件。ListBase
 Inherited当用户双击控件中的某个项目时调度此事件。ListBase
 Inherited当设置了 editedItemPosition 属性且项目可编辑时调度。List
 Inherited当用户在某个项目上释放鼠标按键时、切换到 List 或 List 内部时,或通过任何其他方式尝试编辑项目时调度。List
 Inherited当项目编辑会话由于任何原因结束时调度。List
 Inherited当项呈示器获得焦点时调度。在下列情况下项呈示器可能获得焦点:当用户单击 List 控件中的某个项目或者使用键盘导航到该项目时。List
 Inherited当项呈示器失去焦点时调度。在下列情况下项呈示器可能会失去焦点:用户单击 List 控件中的其他项目或在列表外部单击时,或使用键盘导航到 List 控件中的其他项目或导航到 List 控件外部时。List
 Inherited当用户将鼠标指针移出控件中的某个项目时调度此事件。ListBase
 Inherited当用户将鼠标指针滚至控件中的某个项目时调度此方法。ListBase
 Inherited用户按下某个键时调度。InteractiveObject
 Inherited用户尝试使用键盘导航更改焦点时调度。InteractiveObject
 Inherited用户释放某个键时调度。InteractiveObject
 Inherited当用户在同一 InteractiveObject 上按下并释放用户指针设备的中间按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上按下指针设备的中间按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上释放指针设备按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上按下指针设备按钮时调度。InteractiveObject
 Inherited当用户在使用 PopUpManager 打开的某个组件外部单击时,从该组件调度。UIComponent
 Inherited用户尝试使用指针设备更改焦点时调度。InteractiveObject
 Inherited用户移动 InteractiveObject 上的指针设备时调度。InteractiveObject
 Inherited用户将指针设备从 InteractiveObject 实例上移开时调度。InteractiveObject
 Inherited用户将指针设备移动到 InteractiveObject 实例上时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上释放指针设备按钮时调度。InteractiveObject
 Inherited当鼠标滚轮滚动到 InteractiveObject 实例上时调度。InteractiveObject
 Inherited当用户使用鼠标滚轮滚动到使用 PopUpManager 打开的某个组件外部时,从该组件调度。UIComponent
 Inherited移动对象后调度。UIComponent
 Inherited当用户释放拖动手势时由拖动启动器 InteractiveObject 调度。InteractiveObject
 Inherited在将拖动对象放置到目标上且已通过对 DragManager.acceptDragDrop() 的调用接受该放置操作时,由目标 InteractiveObject 调度。InteractiveObject
 Inherited当拖动手势进入其边界时由 InteractiveObject 调度。InteractiveObject
 Inherited当拖动手势离开其边界时由 InteractiveObject 调度。InteractiveObject
 Inherited当拖动手势保持在其边界内时,由 InteractiveObject 持续调度。InteractiveObject
 Inherited在拖动操作开始时由在 DragManager.doDrag() 调用中指定为拖动启动器的 InteractiveObject 调度。InteractiveObject
 Inherited在拖动操作期间由在 DragManager.doDrag() 调用中指定为拖动启动器的 InteractiveObject 调度。InteractiveObject
 Inherited在用户为粘贴操作激活特定于平台的加速键组合或从文本上下文菜单中选择“粘贴”时调度。InteractiveObject
 Inherited在组件初始化序列开始时调度。UIComponent
 Inherited当用户将活动笔针放低经过屏幕的邻近检测阈值上时调度。InteractiveObject
 Inherited
    proximityEnd
当用户将活动笔针抬高放在屏幕的邻近检测阈值上时调度。InteractiveObject
 Inherited当用户将活动笔针移动到屏幕上但仍保留在邻近检测阈值中时调度。InteractiveObject
 Inherited
    proximityOut
当用户直接将活动笔针从此 InteractiveObject 上移开但仍保留在屏幕的邻近检测阈值中时调度。InteractiveObject
 Inherited当用户直接将活动笔针移动到此 InteractiveObject 上但仍保留在屏幕的邻近检测阈值中时调度。InteractiveObject
 Inherited当用户从此 InteractiveObject 及其任一子项中移开而仍保留在屏幕的邻近检测阈值中时调度。InteractiveObject
 Inherited当用户将活动笔针从显示列表中子项的对象树中滑过此 InteractiveObject 时(而仍保留在屏幕的邻近检测阈值中)时调度。InteractiveObject
 Inherited在用户首先在 InteractiveObject 实例上按下按钮,然后将指针设备移离 InteractiveObject 实例,释放指针设备上的按钮时调度。InteractiveObject
 Inherited当组件通过使用 removeChild()、removeChildAt()、removeElement() 或 removeElementAt() 方法作为内容子项从容器中删除后调度。UIComponent
 Inherited将要从显示列表中删除显示对象时调度。DisplayObject
 Inherited在从显示列表中直接删除显示对象或删除包含显示对象的子树时调度。DisplayObject
 Inherited[广播事件] 将要更新和呈现显示列表时调度。DisplayObject
 Inherited在调整组件大小时调度。UIComponent
 Inherited当用户在同一 InteractiveObject 上按下并释放用户指针设备的右按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上按下指针设备按钮时调度。InteractiveObject
 Inherited当用户在 InteractiveObject 实例上释放指针设备按钮时调度。InteractiveObject
 Inherited用户将指针设备从 InteractiveObject 实例上移开时调度。InteractiveObject
 Inherited用户将指针设备移动到 InteractiveObject 实例上时调度。InteractiveObject
 Inherited当滚动内容时调度。ScrollControlBase
 Inherited在用户为全选操作激活特定于平台的加速键组合或从文本上下文菜单中选择“全选”时调度。InteractiveObject
 Inherited当对象的状态从不可见变为可见时调度。UIComponent
 Inherited在放开软键盘之后立即调度。InteractiveObject
 Inherited在放开软键盘之前立即调度。InteractiveObject
 Inherited在隐藏软键盘之后立即调度。InteractiveObject
 Inherited在组件进入新状态且切换到该状态的状态转换动画已经播放完时调度。UIComponent
 Inherited在组件中断转换到当前状态从而切换到新状态时调度。UIComponent
 Inherited对象的 tabChildren 标志值发生更改时调度。InteractiveObject
 Inherited对象的 tabEnabled 标志发生更改时调度。InteractiveObject
 Inherited对象的 tabIndex 属性值发生更改时调度。InteractiveObject
 Inherited当用户输入一个或多个文本字符时调度。InteractiveObject
 Inherited要创建 ToolTip 时由组件调度。UIComponent
 Inherited已隐藏组件的 ToolTip 并要将其放弃时由组件调度。UIComponent
 Inherited要隐藏组件的 ToolTip 时由组件调度。UIComponent
 Inherited要显示组件的 ToolTip 时由组件调度。UIComponent
 Inherited显示组件的 ToolTip 时由组件调度。UIComponent
 Inherited用户将鼠标移动到设置了 toolTip 属性的组件上方后,由该组件调度。UIComponent
 Inherited当用户第一次触摸启用触摸的设备时(例如,用手指触摸配有触摸屏的移动电话或平板)调度。InteractiveObject
 Inherited当用户移除与启用触摸的设备的接触时(例如,将手指从配有触摸屏的移动电话或平板电脑上抬起)调度。InteractiveObject
 Inherited不可撤消事件,在组件结束响应 touch 交互用户操作时由组件调度。UIComponent
 Inherited不可撤消事件,在组件开始响应 touch 交互用户操作时由组件调度。UIComponent
 Inherited可撤消事件,在组件试图响应 touch 交互用户操作时由组件调度。UIComponent
 Inherited当用户触碰设备时进行调度,而且会连续调度,直到接触点被删除。InteractiveObject
 Inherited当用户将接触点从启用触摸的设备上的 InteractiveObject 实例移开时(例如,在配有触摸屏的移动电话或平板电脑上,将手指从一个显示对象拖到另一个显示对象)调度。InteractiveObject
 Inherited当用户在启用触摸的设备的 InteractiveObject 实例上移动接触点时(例如,在配有触摸屏的移动电话或平板电脑上,将手指从显示对象外的一点拖动到显示对象上的一点)调度。InteractiveObject
 Inherited当用户移动接触点,使其远离启用触摸的设备上的 InteractiveObject 实例时(例如,在配有触摸屏的移动电话或平板电脑上将一个手指从显示对象上的一点移动到显示对象外的一点)调度。InteractiveObject
 Inherited当用户在启用触摸的设备的 InteractiveObject 实例上移动接触点时(例如,在配有触摸屏的移动电话或平板电脑上,将手指从显示对象外的一点拖动到显示对象上的一点)调度。InteractiveObject
 Inherited当用户在启用触摸设备上的已启动接触的同一 InteractiveObject 实例上抬起接触点时(例如,在配有触摸屏的移动电话或平板的显示对象上的某一点处按下并释放手指)调度。InteractiveObject
 Inherited当调用了对象的 commitProperties()、measure() 和 updateDisplayList() 方法后调度(如果需要)。UIComponent
 Inherited当组件由 Validator 监控并且成功通过验证时调度。UIComponent
 Inherited当以编程方式或通过用户交互更改值时调度。UIComponent
样式

样式为常见样式,或与特定主题关联。如果为常见样式,则可以用于任何主题。如果样式与特定主题关联,则只有应用程序使用该主题时才能使用该样式。

常见样式
 样式 说明 由以下参数定义
 Inherited类型: Array 格式: Color CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

列表中项目使用的背景色.
ListBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

从内容区域的上边缘到控件的基线位置的垂直距离(以像素为单位).
UIComponent
 Inherited类型: Class CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

组件的边框外观类.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

边框样式.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

从组件底边到其父容器的内容区域底边之间的垂直距离(以像素为单位).
UIComponent
 Inherited类型: uint 格式: Color CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

组件中文本(包括组件标签)的颜色.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

此组件显示的文本的方向性.
ScrollControlBase
  
directoryIcon
类型: Class 格式: EmbeddedFile CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: AIR1.1, 

指定表示目录的图标。默认图标位于 Assets.swf 文件中。在 MXML 中,可以使用以下语法来设置此属性:directoryIcon="@Embed(source='directoryIcon.jpg');" 默认值为 TreeNodeIcon
FileSystemList
 Inherited类型: uint 格式: Color CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

禁用时组件中文本的颜色.
ScrollControlBase
 Inherited类型: Class CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

用于指示所拖动项目的放置位置的外观.
ListBase
 Inherited类型: uint 格式: Color CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

验证失败时,组件加亮部分的颜色.
UIComponent
  
fileIcon
类型: Class 格式: EmbeddedFile CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: AIR1.1, 

指定表示文件的图标。默认图标位于 Assets.swf 文件中。在 MXML 中,可以使用以下语法来设置此属性:fileIcon="@Embed(source='fileIcon.jpg');" 默认值为 TreeNodeIcon
FileSystemList
 Inherited类型: Number CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

指定焦点外观的 alpha 透明度值.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

焦点矩形使用的混合模式.
UIComponent
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

指定焦点矩形的哪些角应该是圆角.
ScrollControlBase
 Inherited类型: Class CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

用于绘制焦点矩形的外观.
UIComponent
 Inherited类型: Number 格式: Length CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

焦点矩形轮廓的粗细(以像素为单位).
UIComponent
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

设置内部 TextField 的 antiAliasType 属性.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

使用的字体的名称.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

设置用于表示 Flex 控件文本的内部 TextField 的 gridFitType 属性.
ScrollControlBase
 Inherited类型: Number CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

设置用于表示 Flex 控件文本的内部 TextField 的 sharpness 属性.
ScrollControlBase
 Inherited类型: Number 格式: Length CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

文本的高度,以像素为单位.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

确定文本是否使用斜体.
ScrollControlBase
 Inherited类型: Number CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

设置用于表示 Flex 控件文本的内部 TextField 的 thickness 属性.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

确定文本是否使用粗体.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

从组件内容区域的中心到组件中心的水平距离(以像素为单位).
UIComponent
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

水平 scrollbar 的样式名称.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 4.5  运行时版本: Flash10, AIR 2.5

该组件的主要交互模式.
UIComponent
 Inherited类型: Boolean CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

一个布尔值,表示是启用 (true) 还是禁用 (false) 字距调整.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 4.1  运行时版本: Flash10, AIR 1.5

指定组件的所需布局方向.
UIComponent
 Inherited类型: Number 格式: Length CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

文本行之间附加的垂直空间.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

从组件左边到其父容器的内容区域左边之间的水平距离(以像素为单位).
UIComponent
 Inherited类型: Number CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

各字符之间显示的附加像素数.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

此组件显示的文本的区域设置.
ScrollControlBase
 Inherited类型: Number 格式: Length CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

行的底部与该行中呈示器底部之间的像素数目.
ListBase
 Inherited类型: Number 格式: Length CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

组件左边框与其内容区域左边缘之间的像素数目.
ListBase
 Inherited类型: Number 格式: Length CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

组件右边框与其内容区域右边缘之间的像素数目.
ListBase
 Inherited类型: Number 格式: Length CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

行的顶部与该行中呈示器顶部之间的像素数目.
ListBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

从组件右边到其父容器的内容区域右边之间的水平距离(以像素为单位).
UIComponent
 Inherited类型: uint 格式: Color CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

用户将鼠标移到呈示器上时其背景的颜色.
ListBase
 Inherited类型: uint 格式: Color CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

用户选中呈示器时其背景的颜色.
ListBase
 Inherited类型: uint 格式: Color CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

禁用此组件时呈示器的背景色.
ListBase
 Inherited类型: Number 格式: Time CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

选择效果的持续时间.
ListBase
 Inherited类型: Function CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

针对选项效果的 easingFunction.
ListBase
 Inherited类型: Boolean CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 4.5  运行时版本: Flash10, AIR 1.5

当此组件无效时,显示错误边框或外观
UIComponent
 Inherited类型: Boolean CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 4.5  运行时版本: Flash10, AIR 1.5

如果此组件无效,当用户将鼠标移到它上方时,将显示错误提示
UIComponent
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

容器内文本的对齐方式.
ScrollControlBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

确定文本是否加下划线.
ScrollControlBase
 Inherited类型: Class CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

实现此组件用来呈示文本的 IUITextField 的类.
ScrollControlBase
 Inherited类型: Number 格式: Length CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

文本第一行偏离容器左侧的距离(以像素为单位).
ScrollControlBase
 Inherited类型: uint 格式: Color CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

用户将鼠标移到呈示器上时其文本的颜色.
ListBase
 Inherited类型: uint 格式: Color CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

用户选中呈示器时其文本的颜色.
ListBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

从组件顶边到其父容器的内容区域顶边之间的垂直距离(以像素为单位).
UIComponent
 Inherited类型: Boolean CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

一个标志,控制当鼠标滚过项目时是否加亮显示该项目.
ListBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

垂直对齐行中的呈示器.
ListBase
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

从组件内容区域的中心到组件中心的垂直距离(以像素为单位).
UIComponent
 Inherited类型: String CSS 继承:
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

垂直 scrollbar 的样式名称.
ScrollControlBase
Spark 主题样式
 样式 说明 由以下参数定义
 Inherited类型: uint 格式: Color CSS 继承: 是 主题: spark
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

组件外观使用的强调文字颜色.
ScrollControlBase
 Inherited类型: Number CSS 继承: 否 主题: spark
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

边框 Alpha(透明度).
ScrollControlBase
 Inherited类型: uint 格式: Color CSS 继承: 否 主题: halo, spark
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

边框颜色.
ScrollControlBase
 Inherited类型: Boolean CSS 继承: 否 主题: spark
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

边框可视性.
ScrollControlBase
 Inherited类型: uint 格式: Color CSS 继承: 是 主题: spark
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

组件的主要颜色.
ScrollControlBase
 Inherited类型: Number CSS 继承: 是 主题: spark
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

组件内容背景的 Alpha.
ScrollControlBase
 Inherited类型: uint 格式: Color CSS 继承: 是 主题: spark
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

组件的内容区域的颜色.
ScrollControlBase
 Inherited类型: Boolean CSS 继承: 否 主题: spark
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

指定组件是否具有可见投影的布尔值属性.
ScrollControlBase
 Inherited类型: uint 格式: Color CSS 继承: 是 主题: spark
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

组件对焦时,对焦环的颜色.
ScrollControlBase
 Inherited类型: uint 格式: Color CSS 继承: 是 主题: spark
语言版本: ActionScript 3.0  产品版本: Flex 4  运行时版本: Flash10, AIR 1.5

组件的任何元件的颜色.
ScrollControlBase
Halo 主题样式
 样式 说明 由以下参数定义
 Inherited类型: Number CSS 继承: 否 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

backgroundColor 属性定义的颜色和 backgroundImage 样式定义的图像或 SWF 文件的 Alpha 级别.
ScrollControlBase
 Inherited类型: uint 格式: Color CSS 继承: 否 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

组件的背景色.
ScrollControlBase
 Inherited类型: uint 格式: Color CSS 继承: 是 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

禁用组件时组件的背景色.
ScrollControlBase
 Inherited类型: Object 格式: File CSS 继承: 否 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

组件的背景图像.
ScrollControlBase
 Inherited类型: String CSS 继承: 否 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

backgroundImage 指定的图像缩放到不同的百分比大小.
ScrollControlBase
 Inherited类型: uint 格式: Color CSS 继承: 否 主题: halo, spark
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

边框颜色.
ScrollControlBase
 Inherited类型: String CSS 继承: 否 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

边框边.
ScrollControlBase
 Inherited类型: Number 格式: Length CSS 继承: 否 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

边框厚度.
ScrollControlBase
 Inherited类型: Number 格式: Length CSS 继承: 否 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

组件角的半径.
ScrollControlBase
 Inherited类型: uint 格式: Color CSS 继承: 是 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

投影颜色.
ScrollControlBase
 Inherited类型: Boolean CSS 继承: 否 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

指定组件是否具有可见投影的布尔值属性.
ScrollControlBase
 Inherited类型: String CSS 继承: 否 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

投影方向.
ScrollControlBase
 Inherited类型: Number 格式: Length CSS 继承: 否 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

投影距离.
ScrollControlBase
 Inherited类型: uint 格式: Color CSS 继承: 是 主题: halo
语言版本: ActionScript 3.0  产品版本: Flex 3  运行时版本: Flash9, AIR 1.1

组件的主题颜色.
UIComponent
效果
 效果 说明 由以下参数定义
 Inherited 触发事件: added
将组件作为子项添加到 Container 时播放。
UIComponent
 Inherited 触发事件: creationComplete
创建组件时播放。
UIComponent
 Inherited 触发事件: focusIn
组件获得键盘焦点时播放。
UIComponent
 Inherited 触发事件: focusOut
组件失去键盘焦点时播放。
UIComponent
 Inherited 触发事件: hide
组件变为不可见时播放。
UIComponent
 Inherited 触发事件: itemsChange
当控件的数据提供程序发生更改时播放的数据效果。 默认情况下,List 控件不使用数据效果。对于 List 控件,将使用 DefaultListEffect 类的实例配置数据效果。
List
 Inherited 触发事件: mouseDown
用户在组件上方按下鼠标按键时播放。
UIComponent
 Inherited 触发事件: mouseUp
用户在组件上方释放鼠标按键时播放。
UIComponent
 Inherited 触发事件: move
移动组件时播放。
UIComponent
 Inherited 触发事件: removed
从 Container 中删除组件时播放。
UIComponent
 Inherited 触发事件: resize
调整组件大小时播放。
UIComponent
 Inherited 触发事件: rollOut
用户将鼠标指针滚离组件上方时播放。
UIComponent
 Inherited 触发事件: rollOver
用户将鼠标指针滚动到组件上方时播放。
UIComponent
 Inherited 触发事件: show
组件变为可见时播放。
UIComponent
公共常量
 常量由以下参数定义
      COMPUTER : File
[静态] 一个可用作 directory 属性值的常量,代表名为“Computer”的伪顶级目录。
FileSystemList
属性详细信息
    

backHistory

属性
backHistory:Array  [只读]

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

一个 File 对象 Array,表示用户可以向后导航到的目录。

该 Array 中的第一个项目是历史记录列表中可回退到的下一个目录。最后一个项目是历史记录列表中可回退到的最远的目录。

此 Array 可以包含 null 项目,表示以根目录(如 Microsoft Windows 中的 C:\ 和 D:\)作为内容的并不存在的目录。

以下示例演示如何将此属性与 FileSystemHistoryButton 控件一起使用,以实现一个后退按钮:

      <mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Back"
          enabled="{fileSystemViewer.canNavigateBack}"
          dataProvider="{fileSystemViewer.backHistory}"
          click="fileSystemViewer.navigateBack();"
          itemClick="fileSystemViewer.navigateBack(event.index);"/>

默认值为 []。

此属性可用作数据绑定的源。修改此属性后,将调度 historyChanged 事件。



实现
    public function get backHistory():Array

相关 API 元素

    

canNavigateBack

属性 
canNavigateBack:Boolean  [只读]

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

一个标志,如果历史记录列表中至少存在一个可供用户向后导航的目录,则为 true

以下示例演示如何将此属性与 FileSystemHistoryButton 控件一起使用,以实现一个后退按钮:

      <mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Back"
          enabled="{fileSystemViewer.canNavigateBack}"
          dataProvider="{fileSystemViewer.backHistory}"
          click="fileSystemViewer.navigateBack();"
          itemClick="fileSystemViewer.navigateBack(event.index);"/>

默认值为 false。

此属性可用作数据绑定的源。修改此属性后,将调度 historyChanged 事件。



实现
    public function get canNavigateBack():Boolean

相关 API 元素

    

canNavigateDown

属性 
canNavigateDown:Boolean  [只读]

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

一个标志,如果用户可向下导航至所选目录,则为 true。如果未选中任何项目,或所选项目是一个文件而非目录时,此标志为 false

以下示例演示如何将此属性与 Button 控件一起使用:

      <mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:Button label="Open"
          enabled="{fileSystemViewer.canNavigateDown}"
          click="fileSystemViewer.navigateDown();"/>

默认值为 false。

此属性可用作数据绑定的源。修改此属性后,将调度 directoryChanged 事件。



实现
    public function get canNavigateDown():Boolean

相关 API 元素

    

canNavigateForward

属性 
canNavigateForward:Boolean  [只读]

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

一个标志,如果历史记录列表中至少存在一个可供用户向前导航的目录,则为 true

以下示例演示如何将此属性与 FileSystemHistoryButton 控件一起使用,以实现一个前进按钮:

      <mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Forward"
          enabled="{fileSystemViewer.canNavigateForward}"
          dataProvider="{fileSystemViewer.forwardHistory}"
          click="fileSystemViewer.navigateForward();"
          itemClick="fileSystemViewer.navigateForward(event.index);"/>

默认值为 false。

此属性可用作数据绑定的源。修改此属性后,将调度 historyChanged 事件。



实现
    public function get canNavigateForward():Boolean

相关 API 元素

    

canNavigateUp

属性 
canNavigateUp:Boolean  [只读]

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

一个标志,如果用户可向上导航至父级目录,则为 true。仅当此控件显示根目录(如 Microsoft Windows 中的 C:\ 和 D:\)时,此标志才为 false。(此时,directory 属性为 COMPUTER。)

以下示例演示如何将此属性与 Button 控件一起使用:

      <mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:Button label="Up"
          enabled="{fileSystemViewer.canNavigateUp}"
          click="fileSystemViewer.navigateUp();"/>

默认值为 false。

此属性可用作数据绑定的源。修改此属性后,将调度 directoryChanged 事件。



实现
    public function get canNavigateUp():Boolean

相关 API 元素

    

directory

属性 
directory:File

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

此控件显示内容所在的目录。

如果将此属性设置为代表现有目录的 File 对象,则 dataProvider 立即改为 null。稍后,在此控件经 LayoutManager 重新验证后,它将枚举目录的内容并使用生成的代表该目录中文件和子目录的 File 对象的 ArrayCollection 填充 dataProvider 属性。

将此属性设置为不代表现有目录的 File 对象将出现错误。将此属性设置为 COMPUTER 可同步显示根目录,如 Windows 上的 C:、D:。

设置此属性将取消对以前任何所选项目的选择,并会将控件的滚动位置重置到其左上角。

默认值为 COMPUTER。

此属性可用作数据绑定的源。修改此属性后,将调度 directoryChanged 事件。



实现
    public function get directory():File
    public function set directory(value:File):void
    

enumerationMode

属性 
enumerationMode:String

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

一个字符串,指定此控件是仅显示文件、仅显示子目录,还是两者均显示。在两者都显示的情况下,它还可指定子目录显示在文件之前、之后还是与文件混合显示。可能的值由 FileSystemEnumerationMode 类指定。

此属性将影响控件中显示哪些子目录和文件,以及它们的显示顺序。不过,它不会影响 dataProvider 属性中存在哪些 File 实例;此属性通过更改应用于 dataProvider 的滤镜函数的行为起作用。设置此属性不会导致重新枚举当前 directory

设置此属性将取消对任何所选项目的选择,并会将控件的滚动位置重置到其左上角。

默认值为 FileSystemEnumerationMode.DIRECTORIES_FIRST。



实现
    public function get enumerationMode():String
    public function set enumerationMode(value:String):void

相关 API 元素

    

extensions

属性 
extensions:Array

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

扩展名的 Array,指定在此控件中可以显示哪些文件。例如,如果将此属性设置为 [ ".htm", ".html" ],则只显示具有这些扩展名的文件。

扩展名不区分大小写,且前面的句点是可选的。例如,指定 ".HTML" 与指定 "html" 效果相同。

即使目录的名称中包含句点,也不受扩展名筛选的影响。

enumerationModefilterFunction 属性也与确定在控件中显示哪些文件相关。例如,如果此属性为 [ ".htm", ".html" ],但 enumerationMode 属性为 FileSystemEnumerationMode.DIRECTORIES_ONLYfilterFunction 针对某个 .html 文件返回 false,则不会显示该文件。

如果此属性是 null,则不会进行扩展名筛选,但显示所有文件。如果此属性是空 Array,则会过滤所有扩展名,不显示带有扩展名的任何文件。

此属性将影响控件中显示哪些文件。不过,它不会影响 dataProvider 属性中存在哪些 File 实例;此属性通过更改应用于 dataProvider 的滤镜函数的行为起作用。设置此属性不会导致重新枚举当前 directory

设置此属性将取消对任何所选项目的选择,并会将控件的滚动位置重置到其左上角。

默认值为 null。



实现
    public function get extensions():Array
    public function set extensions(value:Array):void
    

filterFunction

属性 
filterFunction:Function

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

在应用 enumerationModeextensions 属性后,可用来执行其它筛选以确定显示及隐藏哪些文件和子目录的回调函数。

该函数必须具有以下特征:

function myFilterFunction(file:File):Boolean
此函数应返回 true 以表示显示指定的文件或子目录;应返回 false 以表示隐藏指定的文件或子目录。

若要确保将每个枚举的文件和子目录都传递给此函数,enumerationMode 属性不能为 FileSystemEnumerationMode.FILES_ONLYFileSystemEnumerationMode.DIRECTORIES_ONLY,且 extensions 属性必须是 null。否则,这些属性将导致在调用此滤镜函数之前进行预筛选。

此属性将影响控件中显示哪些子目录和文件。不过,它不会影响 dataProvider 属性中存在哪些 File 实例;此属性通过更改应用于 dataProvider 的滤镜函数的行为起作用。设置此属性不会导致重新枚举当前 directory

设置此属性将取消对任何所选项目的选择,并会将控件的滚动位置重置到其左上角。

默认值为 null。



实现
    public function get filterFunction():Function
    public function set filterFunction(value:Function):void
    

forwardHistory

属性 
forwardHistory:Array  [只读]

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

一个 File 对象 Array,表示用户可以向前导航到的目录。

该 Array 中的第一个项目是历史记录列表中可前进到的下一个目录。最后一个项目是历史记录列表中可前进到的最远的目录。

此 Array 可能包含特殊的 COMPUTER File 对象,它代表内容为根目录(如 Windows 上的 C:\ 和 D:\)的不存在的目录。

以下示例演示如何将此属性与 FileSystemHistoryButton 控件一起使用,以实现一个前进按钮:

      <mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Forward"
          enabled="{fileSystemViewer.canNavigateForward}"
          dataProvider="{fileSystemViewer.forwardHistory}"
          click="fileSystemViewer.navigateForward();"
          itemClick="fileSystemViewer.navigateForward(event.index);"/>

默认值为 []。

此属性可用作数据绑定的源。修改此属性后,将调度 historyChanged 事件。



实现
    public function get forwardHistory():Array

相关 API 元素

    

nameCompareFunction

属性 
nameCompareFunction:Function

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

可用于更改文件和子目录名称的比较方式以生成排序顺序的回调函数。

该函数必须具有以下特征:

function myNameCompareFunction(name1:String, name2:String):int

如果 name1 应排在 name2 之前,则返回 -1;如果 name1 应排在 name2 之后,则返回 1;如果名称相同,则返回 0

如果未设置此属性,则控件将对两个名称执行不区分大小写、依赖区域设置的比较。首先对每个名称调用 String 方法 toLocaleLowerCase(),然后使用 <> 运算符进行比较。

如果已将 enumerationMode 设置为 FileSystemEnumerationMode.FILES_FIRSTFileSystemEnumerationMode.DIRECTORIES_FIRST,则仅使用此方法比较单组文件和目录之内的名称。

此属性将影响子目录和文件在控件中的显示顺序。不过,它不会影响 dataProvider 属性中的 File 实例;它通过更改应用于 dataProvider 的排序行为起作用。设置此属性不会导致重新枚举当前 directory

设置此属性将取消对任何所选项目的选择,并会将控件的滚动位置重置到其左上角。

默认值为 null。



实现
    public function get nameCompareFunction():Function
    public function set nameCompareFunction(value:Function):void
    

selectedPath

属性 
selectedPath:String

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

表示所选子目录或文件的 File 项目的 nativePath;如果未选定任何项目,则为 null

如果选择了多个项目,此属性将获得 selectedPaths 数组中的第一个路径。

设置此属性将影响 selectedPathsselectedItemselectedItemsselectedIndexselectedIndices 属性。

默认值为 null。

此属性可用作数据绑定的源。修改此属性后,将调度 directoryChanged 事件。



实现
    public function get selectedPath():String
    public function set selectedPath(value:String):void

相关 API 元素

    

selectedPaths

属性 
selectedPaths:Array

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

表示所选子目录和文件的 File 项目的 nativePath 字符串 Array。如果未选择任何项目,则此 Array 为空。

设置此属性将影响 selectedPathsselectedItemselectedItemsselectedIndexselectedIndices 属性。

默认值为 []。

此属性可用作数据绑定的源。修改此属性后,将调度 directoryChanged 事件。



实现
    public function get selectedPaths():Array
    public function set selectedPaths(value:Array):void

相关 API 元素

    

showExtensions

属性 
showExtensions:Boolean

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

一个标志,指定是否显示文件名称中的扩展名。将此属性设置为 true 将显示文件扩展名,设置为 false 将隐藏文件扩展名。始终显示目录名称中的扩展名。

设置此属性不会影响显示哪些项目或它们出现的顺序,也不会影响选择哪些项目或滚动位置。

默认值为 true。



实现
    public function get showExtensions():Boolean
    public function set showExtensions(value:Boolean):void
    

showHidden

属性 
showHidden:Boolean

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

一个标志,指定是否显示操作系统视为隐藏的文件和目录。将此属性设置为 true 将显示隐藏的文件和目录,设置为 false 将隐藏它们。

设置此属性将取消对任何所选项目的选择,并会将控件的滚动位置重置到其左上角。

默认值为 false。



实现
    public function get showHidden():Boolean
    public function set showHidden(value:Boolean):void
    

showIcons

属性 
showIcons:Boolean

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

一个标志,指定在文件名称之前显示图标。将此属性设置为 true 将显示图标,设置为 false 将隐藏图标。

您可以设置 directoryIconfileIcon 样式来更改默认图标。此控件无法显示操作系统针对文件显示的实际图标,因为 AIR 不支持该功能。

设置此属性不会影响显示哪些项目或它们出现的顺序,也不会影响选择哪些项目或滚动位置。

默认值为 true。



实现
    public function get showIcons():Boolean
    public function set showIcons(value:Boolean):void
构造函数详细信息
    

FileSystemList

()构造函数
public function FileSystemList()

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

构造函数。

方法详细信息

    clear

()方法
public function clear():void

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

清除此控件,使其不显示任何项目。

此方法会将 dataProvider 设置为 null,但 directory 属性保持不变。可以调用 refresh 再次填充此控件。

    findIndex

()方法 
public function findIndex(nativePath:String):int

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

返回具有指定本机文件系统路径的 File 项目的索引。

不会搜索符合以下条件的项目:存在于控件的集合中,但由于筛选未能显示。

参数

nativePath:String — 一个字符串,用于指定 File 项目的 nativePath

返回
int — 从零开始的索引;如果在指定的路径中没有找到 File,则为 -1

相关 API 元素

    findItem

()方法 
public function findItem(nativePath:String):File

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

搜索此控件中当前显示的 File 实例,并返回一个具有指定 nativePath 属性的实例。

不会搜索符合以下条件的 File 实例:存在于控件的集合中,但由于筛选未能显示。

参数

nativePath:String — 一个字符串,用于指定 File 项目的 nativePath

返回
File — 如果找到了一个具有指定 nativePath 的 File 实例,则返回该实例;如果没有找到,则返回 null

    navigateBack

()方法 
public function navigateBack(index:int = 0):void

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

更改此控件可显示 backHistory 数组中上次访问过的目录中的内容。

如果 backHistory 数组为空,或者指定的索引不在该数组中,则此方法不会产生任何效果。

此方法返回时,directory 属性将包含新目录的 File 实例。枚举新目录之前,dataProvider 属性暂时为 null。枚举之后,dataProvider 属性将包含新目录内容的 File 实例的 ArrayCollection。

历史记录列表不会更改。但是,列表中的当前索引会发生更改,这会影响 backHistoryforwardHistory 属性。此方法返回新值后,这些属性即可获得新的值。

以下示例演示如何将此方法与 FileSystemHistoryButton 控件一起使用,以创建一个后退按钮:

      <mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Back"
          enabled="{fileSystemViewer.canNavigateBack}"
          dataProvider="{fileSystemViewer.backHistory}"
          click="fileSystemViewer.navigateBack();"
          itemClick="fileSystemViewer.navigateBack(event.index);"/>

参数

index:int (default = 0)backHistory 数组中要导航到的索引。默认值为 0,指示“最近的返回”目录。

相关 API 元素

    navigateDown

()方法 
public function navigateDown():void

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

更改此控件可显示所选子目录的内容。

如果没有选中子目录,则此方法不产生任何效果。

此方法返回时,directory 属性将包含新目录的 File 实例。枚举新目录之前,dataProvider 属性暂时为 null。枚举之后,dataProvider 属性将包含新目录内容的 File 实例的 ArrayCollection。

以下示例演示如何将此方法与 Button 控件一起使用,以创建一个打开按钮:

      <mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:Button label="Open"
          enabled="{fileSystemViewer.canNavigateDown}"
          click="fileSystemViewer.navigateDown();"/>

相关 API 元素

    navigateForward

()方法 
public function navigateForward(index:int = 0):void

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

更改此控件可显示 forwardHistory 数组中上次访问过的目录中的内容。

如果 forwardHistory 数组为空,或者指定的索引不在该数组中,则此方法不会产生任何效果。

此方法返回时,directory 属性将包含新目录的 File 实例。枚举新目录之前,dataProvider 属性暂时为 null。枚举之后,dataProvider 属性将包含新目录内容的 File 实例的 ArrayCollection。

历史记录列表不会更改。但是,列表中的当前索引会发生更改,这会影响 backHistoryforwardHistory 属性。此方法返回新值后,这些属性即可获得新的值。

以下示例演示如何将此方法与 FileSystemHistoryButton 控件一起使用,以创建一个前进按钮:

      <mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:FileSystemHistoryButton label="Forward"
          enabled="{fileSystemViewer.canNavigateForward}"
          dataProvider="{fileSystemViewer.forwardHistory}"
          click="fileSystemViewer.navigateForward();"
          itemClick="fileSystemViewer.navigateForward(event.index);"/>

参数

index:int (default = 0)forwardHistory 数组中要导航到的索引。默认值为 0,指示“最近的前往”目录。

相关 API 元素

    navigateTo

()方法 
public function navigateTo(directory:File):void

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

更改此控件可显示指定目录的内容。

参数

directory:File — 一个文件对象,表示文件或目录。

    navigateUp

()方法 
public function navigateUp():void

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

更改此控件可显示层次结构中上一目录的内容。

如果此控件当前显示根目录(如 Microsoft Windows 中的 C: 和 D:),则此方法不会产生任何效果。

此方法返回时,directory 属性将包含新目录的 File 实例。枚举新目录之前,dataProvider 属性暂时为 null。枚举之后,dataProvider 属性将包含新目录内容的 File 实例的 ArrayCollection。

以下示例演示如何将此方法与 Button 控件一起使用,以创建一个向上按钮:

      <mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/>
      <mx:Button label="Up"
          enabled="{fileSystemViewer.canNavigateUp}"
          click="fileSystemViewer.navigateUp();"/>

相关 API 元素

    refresh

()方法 
public function refresh():void

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

重新枚举此控件显示的当前目录。

由于 AIR 不支持文件系统通知,因此,在创建、删除、移动或重命名文件或子目录时不会自动刷新此控件;也就是说,它可以显示文件系统的过期视图。不过,您可以调用 refresh() 来重新枚举当前 directory 以使其保持最新状态。例如,当您执行了某个文件操作并已知此操作将导致控件的视图过期时,或者当用户取消激活或重新激活您的应用程序时,您可以选择执行此操作。

此方法将保留所有选定的项目(如果它们仍然存在)和滚动位置(如果第一个可见项目仍然存在)。

事件详细信息
    

directoryChange

事件
事件对象类型: mx.events.FileEvent
属性 FileEvent.type = mx.events.FileEvent.DIRECTORY_CHANGE

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

当此控件显示的目录由于某种原因发生更改时调度。

FileEvent.DIRECTORY_CHANGE 常量可为 directoryChange 事件定义事件对象的 type 属性值。

事件对象的属性有下列值:

属性
bubblesfalse
cancelablefalse
currentTarget用于定义处理该事件的事件侦听器的对象。例如,如果您使用 myButton.addEventListener() 注册某个事件侦听器,则 myButton 为 currentTarget 的值。
file与此事件相关联的 File 对象。
target调度该事件的 Object;它不一定是侦听该事件的 Object。使用 currentTarget 属性始终可以访问侦听事件的 Object。
typeFileEvent.DIRECTORY_CHANGE
    

directoryChanging

事件  
事件对象类型: mx.events.FileEvent
属性 FileEvent.type = mx.events.FileEvent.DIRECTORY_OPENING

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

当用户尝试更改此控件显示的目录时调度此事件。

用户可以尝试使用下列方法更改目录:双击子目录;选中子目录后按 Enter 键或 Ctrl-Down;在控件不显示 COMPUTER 目录时按 Ctrl-Up;在历史记录列表中存在要导航回的“上一个”目录时按 Ctrl-Left;在历史记录列表中存在要导航到的“下一个”目录时按 Ctrl-Right。

此事件是可取消的。如果调用 event.preventDefault(),则不会更改目录。

更改 directory 属性后,dataProvider 会包含新目录中项目的 File 实例,此时将调度 directoryChange 事件。

FileEvent.DIRECTORY_OPENING 常量可为 directoryOpening 事件定义事件对象的 type 属性值。

事件对象的属性有下列值:

属性
bubblesfalse
cancelabletrue
currentTarget用于定义处理该事件的事件侦听器的对象。例如,如果您使用 myButton.addEventListener() 注册某个事件侦听器,则 myButton 为 currentTarget 的值。
file与此事件相关联的 File 对象。
target调度该事件的 Object;它不一定是侦听该事件的 Object。使用 currentTarget 属性始终可以访问侦听事件的 Object。
typeFileEvent.DIRECTORY_OPENING
    

fileChoose

事件  
事件对象类型: mx.events.FileEvent
属性 FileEvent.type = mx.events.FileEvent.FILE_CHOOSE

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

当用户通过双击文件或选择文件并按 Enter 键来选择文件时调度此事件。

FileEvent.FILE_CHOOSE 常量可为 fileChoose 事件定义事件对象的 type 属性值。

事件对象的属性有下列值:

属性
bubblesfalse
cancelablefalse
currentTarget用于定义处理该事件的事件侦听器的对象。例如,如果您使用 myButton.addEventListener() 注册某个事件侦听器,则 myButton 为 currentTarget 的值。
file与此事件相关联的 File 对象。
target调度该事件的 Object;它不一定是侦听该事件的 Object。使用 currentTarget 属性始终可以访问侦听事件的 Object。
typeFileEvent.FILE_CHOOSE
常量详细信息
    

COMPUTER

常量
public static const COMPUTER:File

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: AIR 1.1

一个可用作 directory 属性值的常量,代表名为“Computer”的伪顶级目录。这个伪目录中包含根目录(如 Windows 上的 C:\ 和 D:\,或 Macintosh 上的 /)。





[ X ]为什么显示为英语?
《ActionScript 3.0 参考》中的内容以英语显示

《ActionScript 3.0 参考》中的部分内容未翻译成所有语言。当某个语言元素未翻译时,将显示为英语。例如,ga.controls.HelpBox 类未翻译成任何语言。因此在简体中文版的参考中,ga.controls.HelpBox 类显示为英语。