| 패키지 | mx.collections |
| 인터페이스 | public interface IGroupingCollection extends IHierarchicalData , IEventDispatcher |
| 구현자 | GroupingCollection |
| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | Flash Player 9, AIR 1.1 |
관련 API 요소
| 속성 | 정의 주체 | ||
|---|---|---|---|
| grouping : Grouping
The Grouping object applied to the source data. | IGroupingCollection | ||
| 메서드 | 정의 주체 | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | IEventDispatcher | |
If the refresh is performed asynchronously,
cancels the refresh operation and stops the building of the groups. | IGroupingCollection | ||
![]() |
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 | |
Applies the grouping to the view. | IGroupingCollection | ||
![]() |
EventDispatcher 객체에서 리스너를 제거합니다. | IEventDispatcher | |
![]() |
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | IEventDispatcher | |
grouping | 속성 |
grouping:Grouping| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | Flash Player 9, AIR 1.1 |
The Grouping object applied to the source data.
Setting this property does not automatically refresh the view;
therefore, you must call the refresh() method
after setting this property.
Note: The Flex implementations of IGroupingCollection retrieve all items from a remote location before executing grouping.
구현
public function get grouping():Grouping public function set grouping(value:Grouping):voidcancelRefresh | () | 메서드 |
public function cancelRefresh():void| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | Flash Player 9, AIR 1.1 |
If the refresh is performed asynchronously,
cancels the refresh operation and stops the building of the groups.
This method only cancels the refresh
if it is initiated by a call to the refresh() method
with an argument of true, corresponding to an asynchronous refresh.
refresh | () | 메서드 |
public function refresh(async:Boolean = false):Boolean| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 3 |
| 런타임 버전: | Flash Player 9, AIR 1.1 |
Applies the grouping to the view.
The IGroupingCollection does not detect changes to a group
automatically, so you must call the refresh()
method to update the view after setting the group property.
The refresh() method can be applied asynchronously
by calling refresh(true).
When refresh() is called synchronously,
a client should wait for a CollectionEvent event
with the value of the kind property set
to CollectionEventKind.REFRESH
to ensure that the refresh() method completed.
매개 변수
async:Boolean (default = false) — If true, defines the refresh to be asynchronous.
By default it is false denoting synchronous refresh.
|
Boolean — true if the refresh() method completed,
and false if the refresh is incomplete,
which can mean that items are still pending.
|
Tue Jun 12 2018, 03:17 PM Z
상속되는 공용 메서드 숨기기
상속되는 공용 메서드 표시