Paket | ga.views |
Schnittstelle | public interface IGuideView extends IList , IEventDispatcher |
Umsetzer | DynamicSectionView, PanelListView, SectionListView, StaticSectionView, TreeView |
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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.
Eigenschaft | Definiert von | ||
---|---|---|---|
length : int [schreibgeschützt]
Die Anzahl der Elemente in dieser Sammlung. | IList | ||
selectedIndex : int
[bindable] The index of the selected item. | IGuideView | ||
selectedItem : Object
[bindable] The selected item. | IGuideView |
selectedIndex | Eigenschaft |
selectedIndex:int
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
[bindable] The index of the selected item.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange
-Ereignis ausgelöst.
Implementierung
public function get selectedIndex():int
public function set selectedIndex(value:int):void
selectedItem | Eigenschaft |
selectedItem:Object
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
[bindable] The selected item.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange
-Ereignis ausgelöst.
Implementierung
public function get selectedItem():Object
public function set selectedItem(value:Object):void
Tue Jun 12 2018, 10:04 AM Z