Packagecom.sibirjak.asdpc.treeview
Interfacepublic interface ITreeView extends IListView, IBindableView, IView, IDisplayObjectContainer, IDisplayObject, flash.events.IEventDispatcher, IStyleManagerClient, IViewPropertyManagerClient, IControl
ImplementorsTreeView

TreeView public interface.



Public Properties
 PropertyDefined by
 InheritedaddedToStage : Boolean
True, if the View is included in the display list.
IView
 Inheritedalpha : Number
IDisplayObject
 InheriteddataSource : *
Sets or returns the list data source.
IListView
 InheriteddataSourceAdapterFunction : Function
Sets or returns a custom data source adapter function.
IListView
 Inheriteddeselect : Boolean
Defines or returns the list deselection behaviour.
IListView
 Inheriteddirection : String
Sets or gets the list direction.
IListView
 InheritedfirstVisibleIndex : int
The current scroll postion of the list.
IListView
 Inheritedheight : Number
IDisplayObject
 InheriteditemRenderer : Class
Sets an item renderer.
IListView
 Inheritedmask : DisplayObject
IDisplayObject
 InheritedmaxScrollIndex : int
The max scroll postion of the list.
IListView
 Inheritedmultiselect : Boolean
Sets or returns the list to be a multiselect list.
IListView
 Inheritedname : String
IDisplayObject
 InheritednumChildren : int
IDisplayObjectContainer
 InheritednumItems : uint
The number of items currently displayed in the listView.
IListView
 Inheritedparent : DisplayObjectContainer
IDisplayObjectContainer
 InheritedscaleX : Number
IDisplayObject
 InheritedscaleY : Number
IDisplayObject
 Inheritedselect : Boolean
Defines or returns the list selection behaviour.
IListView
 InheritedselectedIndex : int
The list index of the first selected item.
IListView
 InheritedselectedIndices : Array
An array of all selected indices.
IListView
 InheritedselectedItemData : ListItemData
The first selected item.
IListView
 InheritedselectedItemsData : Array
An array of all selected items data.
IListView
 Inheritedstage : Stage
IDisplayObject
 InheritedstyleManager : StyleManager
The clients StyleManager instance.
IStyleManagerClient
 InheritedviewPropertyManager : ViewPropertyManager
The clients ViewPropertyManager instance.
IViewPropertyManagerClient
 Inheritedvisible : Boolean
IDisplayObject
 Inheritedwidth : Number
IDisplayObject
 Inheritedx : Number
IDisplayObject
 Inheritedy : Number
IDisplayObject
Public Methods
 MethodDefined by
 Inherited
addChild(child:DisplayObject):DisplayObject
IDisplayObjectContainer
 Inherited
addChildAt(child:DisplayObject, index:int):DisplayObject
IDisplayObjectContainer
 Inherited
bindProperty(propertyName:String, listener:Object, listenerPropertyName:String = null):void
Binds a listener (bound listener) to a bindable property.
IBindableView
 Inherited
cleanUp():void
Commands a view to immediately clean up all of its content.
IView
  
collapseNodeAt(listIndex:uint, collapseAll:Boolean = false):void
Collapses the node at the given index.
ITreeView
 Inherited
contains(child:DisplayObject):Boolean
IDisplayObjectContainer
 Inherited
deselectItemAt(listIndex:uint):void
Deselects the item at the given position.
IListView
  
expandNodeAt(listIndex:uint, expandAll:Boolean = false):void
Expands the node at the given index.
ITreeView
 Inherited
getChildAt(index:int):DisplayObject
IDisplayObjectContainer
 Inherited
Returns a list of all default style properties.
IView
 Inherited
Returns a ListItemData object for the item at the given index.
IListView
 Inherited
getStyle(property:String):*
Returns a style value for a given style property.
IView
 Inherited
getViewProperty(property:String):*
Gets a property value.
IView
 Inherited
moveTo(x:int, y:int):void
Moves a view.
IView
 Inherited
removeChild(child:DisplayObject):DisplayObject
IDisplayObjectContainer
 Inherited
removeChildAt(index:int):DisplayObject
IDisplayObjectContainer
 Inherited
scrollToItemAt(listIndex:uint):void
Scrolls to the specified item.
IListView
 Inherited
selectItemAt(listIndex:uint):void
Selects the item at the given position.
IListView
 Inherited
setDefaultStyles(defaultStyles:Array):void
Sets a list of default styles, which are referred to, if no actual style could be found for a property.
IView
 Inherited
setSize(width:int, height:int):void
Sets the view dimensions.
IView
 Inherited
setStyle(property:String, value:Array, selectorChain:Array = null, excludeChain:* = null):void
Sets a style to a client.
IView
 Inherited
setStyles(styles:Array, selectorChain:Array = null, excludeChain:Array = null):void
Convenience method to set a number of styles values at once.
IView
 Inherited
setViewProperty(property:String, value:*):void
Sets a property.
IView
 Inherited
styleManagerStyleChangeHandler(property:String, value:*):void
Notifies the client about a change of a style value for that it defines a default style.
IStyleManagerClient
 Inherited
unbindProperty(propertyName:String, listener:Object, listenerPropertyName:String = null):void
Unbinds a formerly bound listener from a bindable property.
IBindableView
 Inherited
validateNow():void
Commands a view to immediately validate all of its invalidate properties.
IView
Method detail
collapseNodeAt()method
public function collapseNodeAt(listIndex:uint, collapseAll:Boolean = false):void

Collapses the node at the given index.

Parameters
listIndex:uint — The index of the node.
 
collapseAll:Boolean (default = false) — True, if the node should be collapsed recursively.
expandNodeAt()method 
public function expandNodeAt(listIndex:uint, expandAll:Boolean = false):void

Expands the node at the given index.

Parameters
listIndex:uint — The index of the node.
 
expandAll:Boolean (default = false) — True, if the node should be expanded recursively.