Packagega.views
Classpublic class DynamicSectionView
Implements IGuideView

Provides a dynamic list of the panels contained within the currently selected section. When the currently selected section changes, this class provides an updated list of panels for the newly selected section. For example, using the following example form guide hierarchy:
Guide
Section A
Panel A-1
Panel A-2
Section B
Panel B-1
When you specify Section A, this class provides the following panels: When you specify Section B, this class provides the following panel:



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

The common instance of this class.


Implementation
    public static function get instance():DynamicSectionView
labelproperty 
label:String  [read-only]

The name of the current section.


Implementation
    public function get label():String
selectedIndexproperty 
selectedIndex:int  [read-write]

The index value of the selected section.

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


Implementation
    public function get selectedIndex():int
    public function set selectedIndex(value:int):void
selectedItemproperty 
selectedItem:Object  [read-write]

[bindable] The selected section.

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


Implementation
    public function get selectedItem():Object
    public function set selectedItem(value:Object):void
Constructor Detail
DynamicSectionView()Constructor
public function DynamicSectionView()

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