用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: 正在从服务器检索数据...
正在从服务器检索数据...
ga.views 

IGuideView  - AS3 ADEP Guides

ga.views
接口public interface IGuideView extends IList , IEventDispatcher
实现器 DynamicSectionView, PanelListView, SectionListView, StaticSectionView, TreeView

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Document Services - Guides 9
运行时版本: AIR 1.0, Flash Player 10.2

The IGuideView interface provides a view to the guide sections and panels and can be used as a data provider. It also supports a selected item in the view. Aside from the selected item/index, this data provider is read only. Whenever the guide adds or removes sections or panels, a view will automatically be updated.

Several guide view instances can be created at a time, for example, one view can contain the list of sections, and another view can contain a list of panels. Changing the selected item in one view will cause a change to the selected item in all guide views.

For example, selecting a panel in a panel view will cause a section view to select that panel’s section. Selecting a section will cause the panel view to select the first panel in that section.

We can have hierarchical guide views where sections are the top most items and the leaves are panels. In this case, the selected index represents the index amongst the panels. In a tree structure like this, a section can never be the selected item. Any attempts to select a section will cause the first panel in that section to be the selected item.



公共属性
 属性由以下参数定义
 Inheritedlength : int
[只读] 此集合中的项目数。
IList
  selectedIndex : int
[bindable] The index of the selected item.
IGuideView
  selectedItem : Object
[bindable] The selected item.
IGuideView
公共方法
 方法由以下参数定义
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。
IEventDispatcher
 Inherited
向列表末尾添加指定项目。
IList
 Inherited
addItemAt(item:Object, index:int):void
在指定的索引处添加项目。
IList
 Inherited
将事件调度到事件流中。
IEventDispatcher
 Inherited
getItemAt(index:int, prefetch:int = 0):Object
获取指定索引处的项目。
IList
 Inherited
如果项目位于列表中(这样的话 getItemAt(index) == item),则返回该项目的索引。
IList
 Inherited
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。
IEventDispatcher
 Inherited
itemUpdated(item:Object, property:Object = null, oldValue:Object = null, newValue:Object = null):void
通知视图,某个项目已更新。
IList
 Inherited
删除列表中的所有项目。
IList
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
从 EventDispatcher 对象中删除侦听器。
IEventDispatcher
 Inherited
删除指定索引处的项目并返回该项目。
IList
 Inherited
setItemAt(item:Object, index:int):Object
在指定的索引处放置项目。
IList
 Inherited
返回与 IList 实现的填充顺序相同的 Array。
IList
 Inherited
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。
IEventDispatcher
属性详细信息

selectedIndex

属性
selectedIndex:int

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Document Services - Guides 9
运行时版本: AIR 1.0, Flash Player 10.2

[bindable] The index of the selected item.

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



实现
    public function get selectedIndex():int
    public function set selectedIndex(value:int):void

selectedItem

属性 
selectedItem:Object

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Document Services - Guides 9
运行时版本: AIR 1.0, Flash Player 10.2

[bindable] The selected item.

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



实现
    public function get selectedItem():Object
    public function set selectedItem(value:Object):void




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

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