Packagega.views
Classpublic class SectionListView
Implements IGuideView

Provides a dynamic list of visible sections within a form guide. For example, using the following example form guide hierarchy:
Guide
Section A
Panel A-1
Panel A-2
Section B
Panel B-1
This class provides the following sections:



Public Properties
 PropertyDefined By
  instance : SectionListView
[static] [read-only] The common instance of this class
SectionListView
  selectedIndex : int
[-only] The index of the selected section.
SectionListView
  selectedItem : Object
[-only] The selected section.
SectionListView
Public Methods
 MethodDefined By
  
Constructor
SectionListView
Events
 Event Summary Defined By
   Dispatched when a repeating panel is added to a form guide.SectionListView
   Dispatched when a repeating panel is removed from a form guide.SectionListView
   Dispatched when a panel is selected. Dispatched when a form guide initializes.SectionListView
Property Detail
instanceproperty
instance:SectionListView  [read-only]

The common instance of this class


Implementation
    public static function get instance():SectionListView
selectedIndexproperty 
public var selectedIndex:int

The index of the selected section.

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

selectedItemproperty 
public var selectedItem:Object

The selected section.

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

Constructor Detail
SectionListView()Constructor
public function SectionListView()

Constructor

Event Detail
pageAdd Event
Event Object Type: ga.model.GAEvent
GAEvent.type property = ga.model.GAEvent.PAGE_ADD

Dispatched when a repeating panel is added to a form guide.

The properties of the event object have the following values:

PropertyValue
pageThe page that was added.
sectionThe section that contains the added page.
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
pageRemove Event  
Event Object Type: ga.model.GAEvent
GAEvent.type property = ga.model.GAEvent.PAGE_REMOVE

Dispatched when a repeating panel is removed from a form guide.

The properties of the event object have the following values:

PropertyValue
pageThe page that was removed.
sectionThe section that contained the removed page.
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
pageSelectionChange Event  
Event Object Type: ga.model.GAEvent
GAEvent.type property = ga.model.GAEvent.PAGE_SELECTION_CHANGE

Dispatched when a panel is selected. Dispatched when a form guide initializes.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.




 

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/SectionListView.html