Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
ga.views 

IGuideView  - AS3 ADEP Guides

Paquetega.views
Interfazpublic interface IGuideView extends IList , IEventDispatcher
Implementadores DynamicSectionView, PanelListView, SectionListView, StaticSectionView, TreeView

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Document Services - Guides 9
Versiones de motor de ejecución: 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.



Propiedades públicas
 PropiedadDefinido por
 Inheritedlength : int
[solo lectura] 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
Métodos públicos
 MétodoDefinido por
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento.
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
Distribuye un evento en el flujo del evento.
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
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento.
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
Elimina un detector del objeto 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
Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto.
IEventDispatcher
Información sobre propiedades

selectedIndex

propiedad
selectedIndex:int

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Document Services - Guides 9
Versiones de motor de ejecución: AIR 1.0, Flash Player 10.2

[bindable] The index of the selected item.

Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .



Implementación
    public function get selectedIndex():int
    public function set selectedIndex(value:int):void

selectedItem

propiedad 
selectedItem:Object

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Document Services - Guides 9
Versiones de motor de ejecución: AIR 1.0, Flash Player 10.2

[bindable] The selected item.

Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .



Implementación
    public function get selectedItem():Object
    public function set selectedItem(value:Object):void




[ X ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.