適用於 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
[唯讀] The number of items in this collection.
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
Adds the specified item to the end of the list.
IList
 Inherited
addItemAt(item:Object, index:int):void
Adds the item at the specified index.
IList
 Inherited
會將事件傳送到事件流程。
IEventDispatcher
 Inherited
getItemAt(index:int, prefetch:int = 0):Object
Gets the item at the specified index.
IList
 Inherited
Returns the index of the item if it is in the list such that getItemAt(index) == item.
IList
 Inherited
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。
IEventDispatcher
 Inherited
itemUpdated(item:Object, property:Object = null, oldValue:Object = null, newValue:Object = null):void
Notifies the view that an item has been updated.
IList
 Inherited
Removes all items from the list.
IList
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
會從 EventDispatcher 物件移除偵聽程式。
IEventDispatcher
 Inherited
Removes the item at the specified index and returns it.
IList
 Inherited
setItemAt(item:Object, index:int):Object
Places the item at the specified index.
IList
 Inherited
Returns an Array that is populated in the same order as the IList implementation.
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 類別就會以英文顯示。