Module is.codion.common.model
Interface FilterTreeModel.VisibleNodes<T>
- Type Parameters:
T- the item type
- All Superinterfaces:
MultiSelection.IndexedItems<NodePath<T>>,Observable<List<NodePath<T>>>,Observer<List<NodePath<T>>>
- Enclosing interface:
FilterTreeModel<T>
public static interface FilterTreeModel.VisibleNodes<T>
extends Observable<List<NodePath<T>>>, MultiSelection.IndexedItems<NodePath<T>>
The visible nodes, the included nodes whose ancestors are all expanded, in depth first order, the root excluded.
These are the rows a view displays, and the FilterTreeModel.selection() indexes.
Notified once per mutation, when the visible nodes changed.
-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.common.reactive.observer.Observer
Observer.Builder<T,B extends Observer.Builder<T, B>> -
Method Summary
Methods inherited from interface is.codion.common.model.selection.MultiSelection.IndexedItems
get, indexOf, sizeMethods inherited from interface is.codion.common.reactive.observer.Observable
changed, getOrThrow, getOrThrow, is, isNot, isNull, isNullable, optionalMethods inherited from interface is.codion.common.reactive.observer.Observer
addConsumer, addListener, addWeakConsumer, addWeakListener, observer, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener, when, when
-
Method Details
-
get
- Specified by:
getin interfaceMultiSelection.IndexedItems<T>- Specified by:
getin interfaceObservable<T>- Returns:
- an unmodifiable snapshot of the visible nodes
-