| Pakiet | mx.collections |
| Interfejs | public interface IHierarchicalData extends IEventDispatcher |
| Implementory | HierarchicalData |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Powiązane elementy interfejsu API
Metody publiczne
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu. | IEventDispatcher | |
Returns true if the node can contain children. | IHierarchicalData | ||
![]() |
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń. | IEventDispatcher | |
Returns an Object representing the node's children. | IHierarchicalData | ||
Returns data from a node. | IHierarchicalData | ||
Returns the root data item. | IHierarchicalData | ||
Returns true if the node has children. | IHierarchicalData | ||
![]() |
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń. | IEventDispatcher | |
![]() |
Usuwa detektor z obiektu EventDispatcher. | IEventDispatcher | |
![]() |
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych. | IEventDispatcher | |
Szczegół metody
canHaveChildren | () | metoda |
public function canHaveChildren(node:Object):Boolean| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns true if the node can contain children.
Nodes do not have to contain children for the method
to return true.
This method is useful in determining whether other
nodes can be appended as children to the specified node.
Parametry
node:Object — The Object that defines the node.
|
Boolean — true if the node can contain children.
|
getChildren | () | metoda |
public function getChildren(node:Object):Object| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns an Object representing the node's children.
Parametry
node:Object — The Object that defines the node.
If null, return a collection of top-level nodes.
|
Object — An Object containing the children nodes.
|
getData | () | metoda |
getRoot | () | metoda |
hasChildren | () | metoda |
public function hasChildren(node:Object):Boolean| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns true if the node has children.
Parametry
node:Object — The Object that defines the node.
|
Boolean — true if the node has children.
|
Tue Jun 12 2018, 12:06 PM Z
Ukryj dziedziczone metody publiczne
Pokaż dziedziczone metody publiczne