Package swingtree.api.model
Interface TableListDataSource<E>
- Type Parameters:
E
- The type of the table entryObject
s.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A simple functional interface whose implementations are used to
form simple
TableModel
implementations
based on lists of lists.-
Method Summary
-
Method Details
-
get
When passed toUIForTable.withModel(UI.ListData, TableListDataSource)
, this method is called continuously by you table to fetch the currentList
based table data. It is not cached or stored insider the table, so if you do not want to rebuild the list based model over and over again make sure this list data source always returns the same object instead of rebuilding it eagerly...- Returns:
- A list matrix which will be used to populate the table.
-