Packagega.views
Classpublic class StaticSectionView
Implements IGuideView

Provides a dynamic list of the panels contained within a section. For example, using the following example form guide hierarchy:
Guide
Section A
Panel A-1
Panel A-2
Section B
Panel B-1
If Section A is passed, this class provides the following panels: When Section B is passed, this class provides the following panel:



Public Properties
 PropertyDefined By
  label : String
[read-only] The name of the section being viewed.
StaticSectionView
  section : ISection
[read-only] The section being viewed.
StaticSectionView
  selectedIndex : int
[-only] The index value of the selected panel.
StaticSectionView
  selectedItem : Object
[-only] The selected panel.
StaticSectionView
Public Methods
 MethodDefined By
  
StaticSectionView(section:Section, parentNode:Node = null)
Constructor
StaticSectionView
Events
 Event Summary Defined By
   Dispatched when a repeating panel is added to a form guide.StaticSectionView
   Dispatched when a repeating panel is removed from a form guide.StaticSectionView
   Dispatched when a panel is selected. Dispatched when a form guide initializes.StaticSectionView
Property Detail
labelproperty
label:String  [read-only]

The name of the section being viewed.


Implementation
    public function get label():String
sectionproperty 
section:ISection  [read-only]

The section being viewed.


Implementation
    public function get section():ISection
selectedIndexproperty 
public var selectedIndex:int

The index value of the selected panel.

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

selectedItemproperty 
public var selectedItem:Object

The selected panel.

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

Constructor Detail
StaticSectionView()Constructor
public function StaticSectionView(section:Section, parentNode:Node = null)

Constructor

Parameters
section:Section
 
parentNode:Node (default = null)
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/StaticSectionView.html