addColumn
Appends one fully specified column. Both forms of column funnel through here, each filling in what a declaration leaves out.
Marked InternalSwingUiApi; it may change without notice in any release.
column carries the guidance on choosing each parameter.
Parameters
the column's header text.
the class the table renders and edits this column's cells as.
whether the column's cells can be edited in place at all.
decides that per row while it is declared, or null to leave the answer to isEditable.
whether a click on the header sorts by this column, while the table sorts at all.
orders this column's values, or null to order them as a TableRowSorter orders a column of columnClass.
the narrowest this column may be dragged or squeezed to, in pixels.
the widest this column may be dragged or stretched to, in pixels.
invoked with the row, its index and the committed value when a cell is edited.
renders the cells through a composable body, or null to render them through the renderer the table picks by columnClass.
extracts the value to show for a row.