Adobe® Flash® Platform için ActionScript® 3.0 Başvurusu
Ana Sayfa  |  Paket ve Sınıf Listesini Gizle |  Paketler  |  Sınıflar  |  Yenilikler  |  Dizin  |  Ekler  |  Niçin İngilizce?
Filtreler: Sunucudan Veri Alınıyor...
Sunucudan Veri Alınıyor...
mx.controls.treeClasses 

ITreeDataDescriptor  - AS3 Flex

Paketmx.controls.treeClasses
Arabirimpublic interface ITreeDataDescriptor

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Interface providing methods for parsing and adding nodes to a collection of data that is displayed by a Tree control.

İlgili API Öğeleri



Genel Yöntemler
 YöntemTanımlayan:
  
addChildAt(parent:Object, newChild:Object, index:int, model:Object = null):Boolean
Adds a child node to a node at the specified index.
ITreeDataDescriptor
  
Provides access to a node's children, returning a collection view of children if they exist.
ITreeDataDescriptor
  
getData(node:Object, model:Object = null):Object
Gets the data from a node.
ITreeDataDescriptor
  
hasChildren(node:Object, model:Object = null):Boolean
Tests for the existence of children in a non-terminating node.
ITreeDataDescriptor
  
isBranch(node:Object, model:Object = null):Boolean
Tests a node for termination.
ITreeDataDescriptor
  
removeChildAt(parent:Object, child:Object, index:int, model:Object = null):Boolean
Removes a child node to a node at the specified index.
ITreeDataDescriptor
Yöntem Ayrıntısı

addChildAt

()yöntem
public function addChildAt(parent:Object, newChild:Object, index:int, model:Object = null):Boolean

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Adds a child node to a node at the specified index.

Parametreler

parent:Object — The node object that will parent the child.
 
newChild:Object — The node object that will be parented by the node.
 
index:int — The 0-based index of where to put the child node.
 
model:Object (default = null) — The entire collection that this node is a part of.

Döndürür
Booleantrue if successful.

getChildren

()yöntem 
public function getChildren(node:Object, model:Object = null):ICollectionView

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Provides access to a node's children, returning a collection view of children if they exist. A node can return any object in the collection as its children; children need not be nested. It is best-practice to return the same collection view for a given node.

Parametreler

node:Object — The node object currently being evaluated.
 
model:Object (default = null) — The entire collection that this node is a part of.

Döndürür
ICollectionView — An collection view containing the child nodes.

getData

()yöntem 
public function getData(node:Object, model:Object = null):Object

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Gets the data from a node.

Parametreler

node:Object — The node object from which to get the data.
 
model:Object (default = null) — The collection that contains the node.

Döndürür
Object — The requested data.

hasChildren

()yöntem 
public function hasChildren(node:Object, model:Object = null):Boolean

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Tests for the existence of children in a non-terminating node.

Parametreler

node:Object — The current node.
 
model:Object (default = null) — The entire collection that this node is a part of.

Döndürür
Booleantrue if the node has at least one child.

isBranch

()yöntem 
public function isBranch(node:Object, model:Object = null):Boolean

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Tests a node for termination. Branches are non-terminating but are not required to have any leaf nodes.

Parametreler

node:Object — The node object currently being evaluated.
 
model:Object (default = null) — The entire collection that this node is a part of.

Döndürür
Boolean — A Boolean indicating if this node is non-terminating.

removeChildAt

()yöntem 
public function removeChildAt(parent:Object, child:Object, index:int, model:Object = null):Boolean

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Removes a child node to a node at the specified index.

Parametreler

parent:Object — The node object that is the parent of the child.
 
child:Object — The node object that will be removed.
 
index:int — The 0-based index of the soon to be deleted node.
 
model:Object (default = null) — The entire collection that this node is a part of.

Döndürür
Booleantrue if successful.




[ X ]Niçin İngilizce?
ActionScript 3.0 Başvurusu'ndaki içerik İngilizce görünür

ActionScript 3.0 Başvurusu'nun tüm bölümleri tüm dillere çevrilmemiştir. Bir dil öğesi çevrilmediğinde İngilizce görünür. Örneğin, ga.controls.HelpBox sınıfı hiçbir dile çevrilmez. Bu nedenle, başvurunun Türkçe versiyonunda ga.controls.HelpBox sınıfı İngilizce görünür.