Wraps another IHierarchicalCollection data source to expose the children of a single branch from that collection as the root items in this collection.

Events:

openfl.events.Event.CHANGE

Dispatched when the collection changes.

feathers.events.HierarchicalCollectionEvent.ADD_ITEM

Dispatched when an item is added to the collection.

feathers.events.HierarchicalCollectionEvent.REMOVE_ITEM

Dispatched when an item is removed from the collection.

feathers.events.HierarchicalCollectionEvent.REPLACE_ITEM

Dispatched when an item is replaced in the collection.

feathers.events.HierarchicalCollectionEvent.REMOVE_ALL

Dispatched when all items are removed from the collection.

feathers.events.HierarchicalCollectionEvent.RESET

Dispatched when the source of the collection is changed.

feathers.events.HierarchicalCollectionEvent.UPDATE_ITEM

Dispatched when IHierarchicalCollection.updateAt() is called.

feathers.events.HierarchicalCollectionEvent.UPDATE_ALL

Dispatched when IHierarchicalCollection.updateAll() is called.

feathers.events.HierarchicalCollectionEvent.FILTER_CHANGE

Dispatched when IHierarchicalCollection.filterFunction is changed.

feathers.events.HierarchicalCollectionEvent.SORT_CHANGE

Dispatched when IHierarchicalCollection.sortCompareFunction is changed.

Available since

1.4.0

.

Constructor

new(parentCollection:IHierarchicalCollection<T>, rootContainsChildrenOf:Array<Int>)

Creates a new HierarchicalSubCollection object with the given arguments.

Available since

1.4.0

.

Variables

@:bindable("filterChange")filterFunction:T ‑> Bool

@:bindable("sortChange")sortCompareFunction:(T, T) ‑> Int

Methods