| Pacchetto | mx.collections |
| Interfaccia | public interface IHierarchicalData extends IEventDispatcher |
| Implementatori | HierarchicalData |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Elementi API correlati
Metodi pubblici
| Metodo | Definito da | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento. | IEventDispatcher | |
Returns true if the node can contain children. | IHierarchicalData | ||
![]() |
Invia un evento nel flusso di eventi. | 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 | ||
![]() |
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento. | IEventDispatcher | |
![]() |
Rimuove un listener dall'oggetto EventDispatcher. | IEventDispatcher | |
![]() |
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato. | IEventDispatcher | |
Descrizione dei metodi
canHaveChildren | () | metodo |
public function canHaveChildren(node:Object):Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | 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.
Parametri
node:Object — The Object that defines the node.
|
Boolean — true if the node can contain children.
|
getChildren | () | metodo |
public function getChildren(node:Object):Object| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns an Object representing the node's children.
Parametri
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 | () | metodo |
getRoot | () | metodo |
hasChildren | () | metodo |
public function hasChildren(node:Object):Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns true if the node has children.
Parametri
node:Object — The Object that defines the node.
|
Boolean — true if the node has children.
|
Tue Jun 12 2018, 02:44 PM Z
Nascondi metodi pubblici ereditati
Mostra metodi pubblici ereditati