Packagega.views
Interfacepublic interface IGuideView extends IList, IEventDispatcher
ImplementorsDynamicSectionView, PanelListView, SectionListView, StaticSectionView, TreeView

Provides a view to the sections and panels contained within a form guide. You can use this interface as a data provider to query the currently selected item in the view. Whenever the guide adds or removes sections or panels, the view updates automatically.

You can create several instances of form guide views at a time. For example, one view can contain the list of form guide sections, and another view can contain a list of form guide panels. Form guide views are connected, so changing the selected item in one view causes a change to the selected item in all form guide views. For example, selecting a specific panel within a panel view will cause a section view to select the section that contains the specified panel. Selecting a section within a section view causes a panel view to select the first panel contained within the specified section.

Form guide views can be hierarchical where sections are the first order items with panels as children. In this case, the index value of a selected item represents the index value amongst the list of panels. In a this type of tree structure, a section can never be the currently selected item. Selecting a section causes the selected item to be the first panel contained within that section.



Public Properties
 PropertyDefined By
 Inheritedlength : int
[read-only] The number of items in this collection.
IList
  selectedIndex : int
[-only] The index value of the selected item.
IGuideView
  selectedItem : Object
[-only] The selected item.
IGuideView
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
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
Dispatches an event into the event flow.
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
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
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
Removes a listener from the EventDispatcher object.
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
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
IEventDispatcher
Property Detail
selectedIndexproperty
public var selectedIndex:int

The index value of the selected item.

This property can be used as the source for data binding.

selectedItemproperty 
public var selectedItem:Object

The selected item.

This property can be used as the source for data binding.





 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/ga/views/IGuideView.html