| Paquete | mx.collections |
| Interfaz | public interface IHierarchicalData extends IEventDispatcher |
| Implementadores | HierarchicalData |
| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Elementos de API relacionados
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento. | IEventDispatcher | |
Returns true if the node can contain children. | IHierarchicalData | ||
![]() |
Distribuye un evento en el flujo del evento. | 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 | ||
![]() |
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento. | IEventDispatcher | |
![]() |
Elimina un detector del objeto EventDispatcher. | IEventDispatcher | |
![]() |
Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto. | IEventDispatcher | |
Información sobre métodos
canHaveChildren | () | método |
public function canHaveChildren(node:Object):Boolean| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | 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.
Parámetros
node:Object — The Object that defines the node.
|
Boolean — true if the node can contain children.
|
getChildren | () | método |
public function getChildren(node:Object):Object| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns an Object representing the node's children.
Parámetros
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 | () | método |
public function getData(node:Object):Object| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns data from a node.
Parámetros
node:Object — The node Object from which to get the data.
|
Object — The requested data.
|
getRoot | () | método |
hasChildren | () | método |
public function hasChildren(node:Object):Boolean| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns true if the node has children.
Parámetros
node:Object — The Object that defines the node.
|
Boolean — true if the node has children.
|
Tue Jun 12 2018, 02:12 PM Z
Ocultar métodos públicos heredados
Mostrar métodos públicos heredados