| Pacote | mx.collections |
| Interface | public interface IHierarchicalData extends IEventDispatcher |
| Implementadores | HierarchicalData |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Elementos da 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 um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | IEventDispatcher | |
Returns true if the node can contain children. | IHierarchicalData | ||
![]() |
Envia um evento para o fluxo de eventos. | 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 o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | IEventDispatcher | |
![]() |
Remove um ouvinte do objeto EventDispatcher. | IEventDispatcher | |
![]() |
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | IEventDispatcher | |
Detalhes do método
canHaveChildren | () | método |
public function canHaveChildren(node:Object):Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de 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.
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| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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 |
getRoot | () | método |
hasChildren | () | método |
Wed Jun 13 2018, 11:10 AM Z
Ocultar métodos públicos herdados
Mostrar métodos públicos herdados