| Package | com.sibirjak.asdpc.treeview |
| Interface | public interface ITreeView extends IListView, IBindableView, IView, IDisplayObjectContainer, IDisplayObject, flash.events.IEventDispatcher, IStyleManagerClient, IViewPropertyManagerClient, IControl |
| Implementors | TreeView |
| Method | Defined by | ||
|---|---|---|---|
![]() |
addChild(child:DisplayObject):DisplayObject
| IDisplayObjectContainer | |
![]() |
addChildAt(child:DisplayObject, index:int):DisplayObject
| IDisplayObjectContainer | |
![]() |
bindProperty(propertyName:String, listener:Object, listenerPropertyName:String = null):void
Binds a listener (bound listener) to a bindable property.
| IBindableView | |
![]() |
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 | ||
![]() |
contains(child:DisplayObject):Boolean
| IDisplayObjectContainer | |
![]() |
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 | ||
![]() |
getChildAt(index:int):DisplayObject
| IDisplayObjectContainer | |
![]() |
getDefaultStyles():Array
Returns a list of all default style properties.
| IView | |
![]() |
getListItemDataAt(listIndex:uint):ListItemData
Returns a ListItemData object for the item at the given index.
| IListView | |
![]() |
getStyle(property:String):*
Returns a style value for a given style property.
| IView | |
![]() |
getViewProperty(property:String):*
Gets a property value.
| IView | |
![]() |
moveTo(x:int, y:int):void
Moves a view.
| IView | |
![]() |
removeChild(child:DisplayObject):DisplayObject
| IDisplayObjectContainer | |
![]() |
removeChildAt(index:int):DisplayObject
| IDisplayObjectContainer | |
![]() |
scrollToItemAt(listIndex:uint):void
Scrolls to the specified item.
| IListView | |
![]() |
selectItemAt(listIndex:uint):void
Selects the item at the given position.
| IListView | |
![]() |
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 | |
![]() |
setSize(width:int, height:int):void
Sets the view dimensions.
| IView | |
![]() |
setStyle(property:String, value:Array, selectorChain:Array = null, excludeChain:* = null):void
Sets a style to a client.
| IView | |
![]() |
setStyles(styles:Array, selectorChain:Array = null, excludeChain:Array = null):void
Convenience method to set a number of styles values at once.
| IView | |
![]() |
setViewProperty(property:String, value:*):void
Sets a property.
| IView | |
![]() |
styleManagerStyleChangeHandler(property:String, value:*):void
Notifies the client about a change of a style value for that it
defines a default style.
| IStyleManagerClient | |
![]() |
unbindProperty(propertyName:String, listener:Object, listenerPropertyName:String = null):void
Unbinds a formerly bound listener from a bindable property.
| IBindableView | |
![]() |
validateNow():void
Commands a view to immediately validate all of its
invalidate properties.
| IView | |
| collapseNodeAt | () | method |
public function collapseNodeAt(listIndex:uint, collapseAll:Boolean = false):voidCollapses the node at the given index.
ParameterslistIndex: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):voidExpands the node at the given index.
ParameterslistIndex:uint — The index of the node.
|
|
expandAll:Boolean (default = false) — True, if the node should be expanded recursively.
|