java.lang.Object
org.bzdev.ecdb.InputTablePane.ColSpec
- Enclosing class:
- InputTablePane
Specification for a table column.
-
Constructor Summary
ConstructorsConstructorDescriptionColSpec
(String heading, String example, Class<?> clasz, TableCellRenderer tcr, TableCellEditor tce) Constructor. -
Method Summary
-
Constructor Details
-
ColSpec
public ColSpec(String heading, String example, Class<?> clasz, TableCellRenderer tcr, TableCellEditor tce) Constructor.Note: if one explicitly sets the trc argument to
DefaultTableCellRenderer
,JTable
implementation will render boolean values as strings not as checkboxes. As a general rule, one should set the tcr argument to specify a specific table cell renderer to use when the default behavior is not wanted.- Parameters:
heading
- the table headingexample
- , sample text to compute the column widthclasz
- the class for the data in this columntcr
- the table-cell renderer used to render a cell in the column; null for theJTable
default redenderertce
- the table-cell editor used to edit a cell in the table; null if the column is not editable
-