| 패키지 | mx.collections |
| 인터페이스 | public interface IHierarchicalData extends IEventDispatcher |
| 구현자 | HierarchicalData |
| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | Flash Player 9, AIR 1.1 |
관련 API 요소
공용 메서드
| 메서드 | 정의 주체 | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | IEventDispatcher | |
Returns true if the node can contain children. | IHierarchicalData | ||
![]() |
이벤트를 이벤트 흐름으로 전달합니다. | 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 | ||
![]() |
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다. | IEventDispatcher | |
![]() |
EventDispatcher 객체에서 리스너를 제거합니다. | IEventDispatcher | |
![]() |
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | IEventDispatcher | |
메서드 세부 정보
canHaveChildren | () | 메서드 |
public function canHaveChildren(node:Object):Boolean| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | 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.
매개 변수
node:Object — The Object that defines the node.
|
Boolean — true if the node can contain children.
|
getChildren | () | 메서드 |
public function getChildren(node:Object):Object| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | Flash Player 9, AIR 1.1 |
Returns an Object representing the node's children.
매개 변수
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 | () | 메서드 |
getRoot | () | 메서드 |
hasChildren | () | 메서드 |
Tue Jun 12 2018, 03:17 PM Z
상속되는 공용 메서드 숨기기
상속되는 공용 메서드 표시