<mx:FileSystemDataGrid>
tag inherits all of the tag
attributes of its superclass and adds the following tag attributes:
<mx:FileSystemDataGrid Properties dateFormatString="" 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" />]]>
针对每个项目显示的信息都包括:项目名称(带有可选通用图标)、类型、大小、创建日期和修改日期。为此,FileSystemDataGrid 会自动创建五列(DataGridColumn 实例)-
要更改显示的数据,需要设置
您需要将
<mx:FileSystemDataGrid directory="{File.desktopDirectory}"/>
您可以设置
您可以设置
由于 AIR 不支持文件系统通知,因此,在创建、删除、移动或重命名文件或子目录时不会自动刷新此控件;也就是说,它可以显示文件系统的过期视图。但是,您可以调用
您可以使用
该控件提供了
该控件还提供了
该控件允许用户使用鼠标或键盘导航到其它目录。用户可以尝试使用下列方法更改目录:双击子目录;选中子目录后按 Enter 键或 Ctrl-Down;在控件不显示 COMPUTER 目录时按 Ctrl-Up;在存在要导航回的“上一个”目录时按 Ctrl-Left;在存在要导航到的“下一个”目录时按 Ctrl-Right。如果用户试图更改正在显示的目录,则该控件将分派可取消的
为了支持控件进行“向上”和“向下”导航,FileSystemList 提供了
该控件可跟踪用户曾经导航到的目录,以便支持控件进行“后退”和“前进”导航。有关详细信息,请参见
注意:针对每个项目显示的图标都是通用文件和目录图标,您可以使用
用户可以尝试使用下列方法更改目录:双击子目录;选中子目录后按 Enter 键或 Ctrl-Down;在控件不显示 COMPUTER 目录时按 Ctrl-Up;在历史记录列表中存在要导航回的“上一个”目录时按 Ctrl-Left;在历史记录列表中存在要导航到的“下一个”目录时按 Ctrl-Right。
此事件是可取消的。如果调用
更改
如果
此方法返回时,
历史记录列表不会更改。但是,列表中的当前索引会发生更改,这会影响
以下示例演示如何将此方法与 FileSystemHistoryButton 控件一起使用,以创建一个后退按钮:
<mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:FileSystemHistoryButton label="Back" enabled="{fileSystemViewer.canNavigateBack}" dataProvider="{fileSystemViewer.backHistory}" click="fileSystemViewer.navigateBack();" itemClick="fileSystemViewer.navigateBack(event.index);"/>
如果没有选中子目录,则此方法不产生任何效果。
此方法返回时,
以下示例演示如何将此方法与 Button 控件一起使用,以创建一个打开按钮:
<mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:Button label="Open" enabled="{fileSystemViewer.canNavigateDown}" click="fileSystemViewer.navigateDown();"/>
如果
此方法返回时,
历史记录列表不会更改。但是,列表中的当前索引会发生更改,这会影响
以下示例演示如何将此方法与 FileSystemHistoryButton 控件一起使用,以创建一个前进按钮:
<mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:FileSystemHistoryButton label="Forward" enabled="{fileSystemViewer.canNavigateForward}" dataProvider="{fileSystemViewer.forwardHistory}" click="fileSystemViewer.navigateForward();" itemClick="fileSystemViewer.navigateForward(event.index);"/>
如果此控件当前显示根目录(如 Microsoft Windows 中的 C: 和 D:),则此方法不会产生任何效果。
此方法返回时,
以下示例演示如何将此属性与 Button 控件一起使用,以创建一个向上按钮:
<mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:Button label="Up" enabled="{fileSystemViewer.canNavigateUp}" click="fileSystemViewer.navigateUp();"/>
您可以设置
您可以设置
您可以设置
您可以设置
您可以设置
该 Array 中的第一个项目是历史记录列表中可回退到的下一个目录。最后一个项目是历史记录列表中可回退到的最远的目录。
此 Array 可以包含
以下示例演示如何将此属性与 FileSystemHistoryButton 控件一起使用,以实现一个后退按钮:
<mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:FileSystemHistoryButton label="Back" enabled="{fileSystemViewer.canNavigateBack}" dataProvider="{fileSystemViewer.backHistory}" click="fileSystemViewer.navigateBack();" itemClick="fileSystemViewer.navigateBack(event.index);"/>
以下示例演示如何将此属性与 FileSystemHistoryButton 控件一起使用,以实现一个后退按钮:
<mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:FileSystemHistoryButton label="Back" enabled="{fileSystemViewer.canNavigateBack}" dataProvider="{fileSystemViewer.backHistory}" click="fileSystemViewer.navigateBack();" itemClick="fileSystemViewer.navigateBack(event.index);"/>
以下示例演示如何将此属性与 Button 控件一起使用:
<mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:Button label="Open" enabled="{fileSystemViewer.canNavigateDown}" click="fileSystemViewer.navigateDown();"/>
以下示例演示如何将此属性与 FileSystemHistoryButton 控件一起使用,以实现一个前进按钮:
<mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:FileSystemHistoryButton label="Forward" enabled="{fileSystemViewer.canNavigateForward}" dataProvider="{fileSystemViewer.forwardHistory}" click="fileSystemViewer.navigateForward();" itemClick="fileSystemViewer.navigateForward(event.index);"/>
以下示例演示如何将此属性与 Button 控件一起使用:
<mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:Button label="Up" enabled="{fileSystemViewer.canNavigateUp}" click="fileSystemViewer.navigateUp();"/>
该 Array 中的第一个项目是历史记录列表中可前进到的下一个目录。最后一个项目是历史记录列表中可前进到的最远的目录。
此 Array 可以包含
以下示例演示如何将此属性与 FileSystemHistoryButton 控件一起使用,以实现一个前进按钮:
<mx:FileSystemDataGrid id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:FileSystemHistoryButton label="Forward" enabled="{fileSystemViewer.canNavigateForward}" dataProvider="{fileSystemViewer.forwardHistory}" click="fileSystemViewer.navigateForward();" itemClick="fileSystemViewer.navigateForward(event.index);"/>
<mx:FileSystemTree>
tag inherits all of the tag
attributes of its superclass and adds the following tag attributes:
<mx:FileSystemTree Properties directory="null" enumerationMode="directoriesFirst" extensions="null" filterFunction="null" nameCompareFunction="null" openPaths="null" selectedPath="null" selectedPaths="null" showExtensions="true" showHidden="false" showIcons="true" Events directoryChange="No default" directoryClosing="No default" directoryOpening="No default" fileChoose="No default" />]]>
您可以通过将
可设置
可设置
可使用
通过将
如果用户双击关闭的目录节点或单击其显示图标,此控件将分派
如果用户双击某个文件节点,此控件将分派
此事件是可取消的。如果调用
此方法会将
如果
此方法将自动打开到达指定目录需要经过的所有中间目录。
如果
返回此方法后,
如果将此属性设置为代表现有目录的 File 对象,则
将此属性设置为不代表现有目录的 File 对象将出现错误。将此属性设置为
<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" />]]>
要更改显示的数据,需要设置
您需要将
<mx:FileSystemList directory="{File.desktopDirectory}"/>
您可以设置
您可以设置
由于 AIR 不支持文件系统通知,因此,在创建、删除、移动或重命名文件或子目录时不会自动刷新此控件;也就是说,它可以显示文件系统的过期视图。但是,您可以调用
您可以使用
该控件提供了
该控件还提供了
该控件允许用户使用鼠标或键盘导航到其它目录。用户可以尝试使用下列方法更改目录:双击子目录;选中子目录后按 Enter 键或 Ctrl-Down;在控件不显示 COMPUTER 目录时按 Ctrl-Up;在存在要导航回的“上一个”目录时按 Ctrl-Left;在存在要导航到的“下一个”目录时按 Ctrl-Right。如果用户试图更改正在显示的目录,则该控件将分派可取消的
为了支持控件进行“向上”和“向下”导航,FileSystemList 提供了
该控件可跟踪用户曾经导航到的目录,以便支持控件进行“后退”和“前进”导航。有关详细信息,请参见
注意:针对每个项目显示的图标都是通用文件和目录图标,您可以使用
用户可以尝试使用下列方法更改目录:双击子目录;选中子目录后按 Enter 键或 Ctrl-Down;在控件不显示 COMPUTER 目录时按 Ctrl-Up;在历史记录列表中存在要导航回的“上一个”目录时按 Ctrl-Left;在历史记录列表中存在要导航到的“下一个”目录时按 Ctrl-Right。
此事件是可取消的。如果调用
更改
此方法会将
不会搜索符合以下条件的项目:存在于控件的集合中,但由于筛选未能显示。
不会搜索符合以下条件的 File 实例:存在于控件的集合中,但由于筛选未能显示。
如果
此方法返回时,
历史记录列表不会更改。但是,列表中的当前索引会发生更改,这会影响
以下示例演示如何将此方法与 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);"/>
如果没有选中子目录,则此方法不产生任何效果。
此方法返回时,
以下示例演示如何将此方法与 Button 控件一起使用,以创建一个打开按钮:
<mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:Button label="Open" enabled="{fileSystemViewer.canNavigateDown}" click="fileSystemViewer.navigateDown();"/>
如果
此方法返回时,
历史记录列表不会更改。但是,列表中的当前索引会发生更改,这会影响
以下示例演示如何将此方法与 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);"/>
如果此控件当前显示根目录(如 Microsoft Windows 中的 C: 和 D:),则此方法不会产生任何效果。
此方法返回时,
以下示例演示如何将此方法与 Button 控件一起使用,以创建一个向上按钮:
<mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:Button label="Up" enabled="{fileSystemViewer.canNavigateUp}" click="fileSystemViewer.navigateUp();"/>
由于 AIR 不支持文件系统通知,因此,在创建、删除、移动或重命名文件或子目录时不会自动刷新此控件;也就是说,它可以显示文件系统的过期视图。不过,您可以调用
此方法将保留所有选定的项目(如果它们仍然存在)和滚动位置(如果第一个可见项目仍然存在)。
该 Array 中的第一个项目是历史记录列表中可回退到的下一个目录。最后一个项目是历史记录列表中可回退到的最远的目录。
此 Array 可以包含
以下示例演示如何将此属性与 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);"/>
以下示例演示如何将此属性与 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);"/>
以下示例演示如何将此属性与 Button 控件一起使用:
<mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:Button label="Open" enabled="{fileSystemViewer.canNavigateDown}" click="fileSystemViewer.navigateDown();"/>
以下示例演示如何将此属性与 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);"/>
以下示例演示如何将此属性与 Button 控件一起使用:
<mx:FileSystemList id="fileSystemViewer" directory="{File.desktopDirectory}"/> <mx:Button label="Up" enabled="{fileSystemViewer.canNavigateUp}" click="fileSystemViewer.navigateUp();"/>
如果将此属性设置为代表现有目录的 File 对象,则
将此属性设置为不代表现有目录的 File 对象将出现错误。将此属性设置为
设置此属性将取消对以前任何所选项目的选择,并会将控件的滚动位置重置到其左上角。
此属性将影响控件中显示哪些子目录和文件,以及它们的显示顺序。不过,它不会影响
设置此属性将取消对任何所选项目的选择,并会将控件的滚动位置重置到其左上角。
扩展名不区分大小写,且前面的句点是可选的。例如,指定
即使目录的名称中包含句点,也不受扩展名筛选的影响。
如果此属性是
此属性将影响控件中显示哪些文件。不过,它不会影响
设置此属性将取消对任何所选项目的选择,并会将控件的滚动位置重置到其左上角。
该函数必须具有以下特征:
function myFilterFunction(file:File):Boolean此函数应返回
若要确保将每个枚举的文件和子目录都传递给此函数,
此属性将影响控件中显示哪些子目录和文件。不过,它不会影响
设置此属性将取消对任何所选项目的选择,并会将控件的滚动位置重置到其左上角。
该 Array 中的第一个项目是历史记录列表中可前进到的下一个目录。最后一个项目是历史记录列表中可前进到的最远的目录。
此 Array 可能包含特殊的
以下示例演示如何将此属性与 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);"/>
该函数必须具有以下特征:
function myNameCompareFunction(name1:String, name2:String):int
如果
如果未设置此属性,则控件将对两个名称执行不区分大小写、依赖区域设置的比较。首先对每个名称调用 String 方法
如果已将
此属性将影响子目录和文件在控件中的显示顺序。不过,它不会影响
设置此属性将取消对任何所选项目的选择,并会将控件的滚动位置重置到其左上角。
如果选择了多个项目,此属性将获得
设置此属性将影响
设置此属性将影响
设置此属性不会影响显示哪些项目或它们出现的顺序,也不会影响选择哪些项目或滚动位置。
设置此属性将取消对任何所选项目的选择,并会将控件的滚动位置重置到其左上角。
您可以设置
设置此属性不会影响显示哪些项目或它们出现的顺序,也不会影响选择哪些项目或滚动位置。
<mx:HTML>
tag inherits all of the tag
attributes of its superclass and adds the following tag attributes:
<mx:HTML Properties data="null" historyPosition="0" htmlHost="null" htmlLoaderFactory="mx.core.ClassFactory" htmlText="" listData="null" location="" paintsDefaultBackground="false" runtimeApplicationDomain="null" userAgent="null" Styles paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0" Events complete="No default" htmlDOMInitialize="No default" htmlRender="No default" locationChange="No default" uncaughtScriptException="No default" />]]>
可以使用
此事件始终异步调度。此事件的事件处理函数可以调用此控件或其内部
此事件始终异步调度。此事件的事件处理函数可以调用此控件或其内部
因为 HTML 控件可以分派这些事件中的许多事件,所以应避免在
分派此事件时,尚未执行任何 JavaScript 方法。存在
此事件的处理函数不应设置任何属性或调用任何方法,因为这会启动另一个加载操作或影响当前加载操作的 URL;这样做会导致 ActionScript 或 JavaScript 异常。
在 HTML DOM 中分派 JavaScript
此事件的事件处理函数可以调用此控件或其内部
如果在创建组件的内部 HTMLLoader(
如果在创建此组件的内部 HTMLLoader(
调用 HTMLLoader 对象的此方法与在 HTML 内容中调用 JavaScript 的
如果在创建组件的内部 HTMLLoader(
调用 HTMLLoader 对象的此方法与在 HTML 内容中调用 JavaScript 的
此函数不引发错误。
如果在创建组件的内部 HTMLLoader(
如果步骤数为正数,则此方法向前导航;如果为负数,则向后导航。导航零个步骤与调用
此方法与在 HTML 内容中调用 JavaScript 的
如果在创建组件的内部 HTMLLoader(
如果在创建组件的内部 HTMLLoader(
将控件用作嵌入式项呈示器或嵌入式项目编辑器时,Flex 自动将项目的当前值写入此控件的
无法在 MXML 中设置此属性。
在分派
历史记录列表与 HTML 内容的
若要覆盖 HTMLLoader 的默认行为,请创建 HTMLHost 类的子类,覆盖其成员函数以处理 HTML 内容中的各种用户界面更改,并将此属性设置为子类的实例。
默认值是 HTMLLoader 的 IFactory。
如果设置此属性,
通过
flash.system.IMEConversionMode 类定义此属性的有效值的常量。您还可以指定
您无需在 MXML 或 ActionScript 中设置此属性;将组件用作嵌入式项呈示器或嵌入式项目编辑器时,Flex 会对其进行设置。
在分派
此属性可能永远不会变为
如果设置此属性,
如果此属性为
但是,如果任何 HTML 元素具有自己的不透明背景颜色(例如,由 style="background-color:gray" 指定),则该背景将显示在该元素后面。
只有在此属性的计算结果为
注意:在 Windows 上,如果用户系统上当前正在运行 Acrobat 或 Acrobat Reader 7.x 或更高版本,则即使安装了支持加载 PDF(HTML 对象中已加载)的更高版本,也会使用该版本。在这种情况下,如果
如果此属性为
通过设置静态
如果既未设置此控件的
"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) AdobeAIR/1.0" "Mozilla/5.0 (Windows; U; en) AppleWebKit/420+ (KHTML, like Gecko) AdobeAIR/1.0"
<mx:FlexNativeMenu>
tag supports the following tag attributes:
<mx:FlexNativeMenu Properties dataDescriptor="mx.controls.treeClasses.DefaultDataDescriptor" dataProvider="undefined" keyEquivalentField="keyEquivalent" keyEquivalentFunction="undefined" keyEquivalentModifiersFunction="undefined" labelField="label" labelFunction="undefined" mnemonicIndexField="mnemonicIndex" mnemonicIndexFunction="undefined" showRoot="true" Events itemClick="No default" menuShow="No default" />]]>
与其他 Flex 菜单组件相同的是,要定义由 FlexNativeMenu 组件表示的菜单的结构,需要创建一个数据提供程序(如 XML 层次结构或对象数组),其中包含要用于定义该菜单的数据。可以设置多个属性来定义如何解释数据提供程序数据,如
FlexNativeMenu 项目的数据提供程序可以指定几个属性来确定项目的显示方式和行为方式,如以下 XML 数据提供程序所示:
<mx:XML format="e4x" id="myMenuData"> <root> <menuitem label="MenuItem A"> <menuitem label="SubMenuItem A-1" enabled="False"/> <menuitem label="SubMenuItem A-2"/> </menuitem> <menuitem label="MenuItem B" type="check" toggled="true"/> <menuitem label="MenuItem C" type="check" toggled="false"/> <menuitem type="separator"/> <menuitem label="MenuItem D"> <menuitem label="SubMenuItem D-1"/> <menuitem label="SubMenuItem D-2"/> <menuitem label="SubMenuItem D-3"/> </menuitem> </root> </mx:XML>
下表列出了您可以指定的属性及其数据类型、目的,以及数据提供程序表示它们必须采取的方式(如果菜单使用 DefaultDataDescriptor 类分析数据提供程序):
要创建窗口菜单,请将 FlexNativeMenu 设置为窗口的
要检测何时会触发菜单项命令,请为
如果要将此属性指定为 MXML 中的某个属性,则必须使用对数据描述符的引用,而不是描述符的字符串名称。请使用下列格式设置此属性:
<mx:FlexNativeMenu id="flexNativeMenu" dataDescriptor="{new MyCustomDataDescriptor()}"/>
或者,您可以在 MXML 中将该属性指定为嵌套子标签,如下例所示:
<mx:FlexNativeMenu> <mx:dataDescriptor> <myCustomDataDescriptor> </mx:dataDescriptor> ...
默认值为 DefaultDataDescriptor 类的内部实例。
FlexNativeMenu 控件按如下方式处理源数据对象:
设置
等效功能键函数必须采用一个参数,该参数是数据提供程序中的项目,并且必须返回一个 String。
myKeyEquivalentFunction(item:Object):String
等效功能键函数必须采用一个参数,该参数是数据提供程序中的项目,并且必须返回一个功能键名称数组。
myKeyEquivalentModifiersFunction(item:Object):Array
在标签中,您可以通过在字符前添加下划线指定将该字符用作助记键索引。例如,
设置
如果省略此属性,Flex 将使用
标签函数必须采用一个参数,该参数是数据提供程序中的项目,并且必须返回一个字符串。
myLabelFunction(item:Object):String
如果此属性指定的字段中包含大于零的数值,则助记键索引将优先于标签中用下划线指定的索引。
设置
如果省略此属性,Flex 将使用
如果已定义此属性,并且该函数针对数据项目返回大于零的数值,则返回的助记键索引将优先于标签中用下划线指定的索引。
助记键索引函数必须采用一个参数,该参数是数据提供程序中的项目,并且必须返回一个常量。
myMnemonicIndexFunction(item:Object):int
如果数据提供程序具有根节点,但
在使用没有根节点的数据提供程序(如 List 或 Array)时,此标志不起任何作用。
<mx:FileSystemHistoryButton>
tag inherits all of the tag
attributes of its superclass and adds the following tag attributes:
<mx:FileSystemHistoryButton Properties dataProvider="undefined" Events itemClick="No default" />]]>
主按钮上可以包含一个文本标签、一个图标,或者两者都包含。当用户单击主按钮时,控件将分派
单击辅助(右侧)按钮显示一个下拉菜单,该菜单通过
通常,使用两个 FileSystemHistoryButton 和一个 FileSystemList 或 FileSystemDataGrid 实现“后退”或“前进”控件,使用户在 FileSystemList 或 FileSystemDataGrid 的导航历史记录中后退或前进。要填充 FileSystemHistoryButton 控件的
按钮自身不导致导航发生。您必须编写响应
<mx:FileSystemComboBox>
tag inherits all of the tag
attributes of its superclass and adds the following tag attributes:
<mx:FileSystemComboBox Properties directory="null" indent="8" showIcons="true" Styles computerIcon="null" directoryIcon="TreeNodeIcon" Events directoryChange="No default" />]]>
与标准的 ComboBox 控件不同,要填充 FileSystemComboBox 控件的
当从下拉列表中选择某个条目时,此控件将分派