Interface TableListDataSource<E>

Type Parameters:
E - The type of the table entry Objects.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TableListDataSource<E>
A simple functional interface whose implementations are used to form simple TableModel implementations based on lists of lists.
  • Method Details

    • get

      List<List<E>> get()
      When passed to UIForTable.withModel(UI.ListData, TableListDataSource), this method is called continuously by you table to fetch the current List 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.