Package swingtree.api.model
package swingtree.api.model
-
ClassDescriptionThis interface defines a basic table model which can be used to create a table model using lambda expressions.The class below is a functional builder for creating a lambda based implementation of the
BasicTableModel.Implementations of this functional interface translate to theTableModel.isCellEditable(int, int)method.Implementations of this functional interface translate to theTableModel.getColumnClass(int)method.Implementations of this functional interface translate to theTableModel.getColumnCount()method.Implementations of this functional interface translate to theTableModel.getColumnName(int)method.Implementations of this functional interface translate to theTableModel.getValueAt(int, int)method.Implementations of this functional interface translate to theTableModel.setValueAt(Object, int, int)method.Implementations of this functional interface translate to theTableModel.getRowCount()method.An immutable value describing the entire contents of a table: its cells, the name and class of every column, theUI.CellOrdertying the two together, and whether the user may edit any of it.A simple functional interface whose implementations are used to form simpleTableModelimplementations based on lists of lists.A simple functional interface whose implementations are used to form simpleTableModelimplementations based on a mapping of column names to columns.