| Package | ga.views |
| Class | public class TreeView |
| Implements | IGuideView |
| Property | Defined By | ||
|---|---|---|---|
| includeNestedSections : Boolean
Indicates if nested sections should appear in the tree.
| TreeView | ||
| instance : TreeView
[static] [read-only] The common instance of this class.
| TreeView | ||
| selectedIndex : int
[-only] The leaf section index of the selected item
| TreeView | ||
| selectedItem : Object
[-only] Returns the page manager pages
| TreeView | ||
| Method | Defined By | ||
|---|---|---|---|
|
TreeView()
Sets up the event listeners and initializes the tree structure.
| TreeView | ||
|
Forwards events that can cause panel changes to the event listeners.
| TreeView | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when a repeating panel is added to a form guide. | TreeView | |||
| Dispatched when a repeating panel is removed from a form guide. | TreeView | |||
| Dispatched when a panel is selected. Dispatched when a form guide initializes. | TreeView | |||
| includeNestedSections | property |
includeNestedSections:Boolean [read-write] Indicates if nested sections should appear in the tree. The default value is True.
public function get includeNestedSections():Boolean
public function set includeNestedSections(value:Boolean):void
| instance | property |
instance:TreeView [read-only] The common instance of this class.
public static function get instance():TreeView
| selectedIndex | property |
public var selectedIndex:int
The leaf section index of the selected item
This property can be used as the source for data binding.
| selectedItem | property |
public var selectedItem:Object
Returns the page manager pages
This property can be used as the source for data binding.
| TreeView | () | Constructor |
public function TreeView()
Sets up the event listeners and initializes the tree structure.
| pageChange | () | method |
public function pageChange(event:GAEvent):void
Forwards events that can cause panel changes to the event listeners.
Parameters
event:GAEvent |
| pageAdd | Event |
ga.model.GAEvent
ga.model.GAEvent.PAGE_ADD
The properties of the event object have the following values:
| Property | Value |
|---|---|
page | The page that was added. |
section | The section that contains the added page. |
bubbles | false |
cancelable | false |
currentTarget | The 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. |
target | The 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 |
ga.model.GAEvent
ga.model.GAEvent.PAGE_REMOVE
The properties of the event object have the following values:
| Property | Value |
|---|---|
page | The page that was removed. |
section | The section that contained the removed page. |
bubbles | false |
cancelable | false |
currentTarget | The 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. |
target | The 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 |
ga.model.GAEvent
ga.model.GAEvent.PAGE_SELECTION_CHANGE
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The 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. |
target | The 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/TreeView.html