Interface TableMapDataSource<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 TableMapDataSource<E>
A simple functional interface whose implementations are used to form simple TableModel implementations based on a mapping of column names to columns.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Supplies a map of columns forming a matrix which will be used to render a table.
  • Method Details

    • get

      Map<String,List<E>> get()
      Supplies a map of columns forming a matrix which will be used to render a table. It is called continuously by the table model to populate the table, so the implementation should avoid doing heavy computations, I/O operations or large allocations.
      Returns:
      A map of columns forming a matrix which will be used to populate the table.