Module is.codion.swing.common.model
Interface SwingFilterTreeModel.Builder.RootsStep
- All Superinterfaces:
FilterTreeModel.Builder.RootsStep
- Enclosing interface:
SwingFilterTreeModel.Builder<T>
public static interface SwingFilterTreeModel.Builder.RootsStep
extends FilterTreeModel.Builder.RootsStep
Provides a
SwingFilterTreeModel.Builder.ChildrenStep-
Method Summary
Modifier and TypeMethodDescriptionroots(Supplier<Collection<T>> roots) The roots are called on a background thread when loading asynchronously.
-
Method Details
-
roots
Description copied from interface:FilterTreeModel.Builder.RootsStepThe roots are called on a background thread when loading asynchronously.- Specified by:
rootsin interfaceFilterTreeModel.Builder.RootsStep- Type Parameters:
T- the item type- Parameters:
roots- supplies the top level items- Returns:
- a
FilterTreeModel.Builder.ChildrenStep
-