public abstract class AbstractTableModel extends Object implements TableModel
| Constructor and Description |
|---|
AbstractTableModel() |
| Modifier and Type | Method and Description |
|---|---|
Class |
getCellType(int row,
int column)
Allows the table to hint the class type of a specific cell
|
String[] |
getMultipleChoiceOptions(int row,
int column)
Allows the table cell to feature multiple choice for a specific entry
|
Constraint |
getValidationConstraint(int row,
int column)
If the cell has a validation constraint it's returned here
|
Validator |
getValidator()
A validator can be defined here so a validation constraint can bind to a table model cell
|
void |
setValidator(Validator validator)
A validator can be defined here so a validation constraint can bind to a table model cell
|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDataChangeListener, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeDataChangeListener, setValueAtpublic Class getCellType(int row, int column)
row - the row in the tablecolumn - the columnpublic Constraint getValidationConstraint(int row, int column)
row - the rowcolumn - the column for the cellpublic String[] getMultipleChoiceOptions(int row, int column)
row - the row in the tablecolumn - the columnpublic Validator getValidator()
public void setValidator(Validator validator)
validator - the validator to set