public abstract class AbstractTableModel extends AbstractTableColumnModel implements TableModel
| Modifier and Type | Field and Description |
|---|---|
static TableModel |
EMPTY_MODEL |
| Constructor and Description |
|---|
AbstractTableModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTableModelListener(TableModelListener l)
Add a listener to the model.
|
protected void |
fireTableContentChanged() |
protected void |
fireTableRowsInserted(int index,
int count) |
protected void |
fireTableRowsRemoved(int index,
int count) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
refresh() |
void |
removeTableModelListener(TableModelListener l)
Remove a listener from the model.
|
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex) |
addTableColumnModelListener, fireTableColumnsInserted, fireTableColumnsRemoved, getCellRenderer, getColumnComparator, getColumnCount, getColumnHref, getColumnName, getColumnPopupModal, getColumnRangeValues, getColumnTargetLocation, getColumnType, getColumnWindowHeight, getColumnWindowWidth, getDisplayFormat, getFixedColumnCount, getFormat, getGroupHeader, getGroupHeaderBGColor, getLocale, getNoWrap, getSortMode, getSortOrder, getTableName, getWrapHeader, isColumnEditable, isColumnHTML, isColumnMultiline, removeTableColumnModelListener, setLocale, setTableNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRowCount, getValueAtaddTableColumnModelListener, getCellRenderer, getColumnComparator, getColumnCount, getColumnHref, getColumnName, getColumnPopupModal, getColumnRangeValues, getColumnTargetLocation, getColumnType, getColumnWindowHeight, getColumnWindowWidth, getDisplayFormat, getFixedColumnCount, getFormat, getGroupHeader, getGroupHeaderBGColor, getLocale, getNoWrap, getSortMode, getSortOrder, getTableName, getWrapHeader, isColumnEditable, isColumnHTML, isColumnMultiline, removeTableColumnModelListenerpublic static final TableModel EMPTY_MODEL
public void refresh()
refresh in interface TableModelpublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelrowIndex - The index of the row.columnIndex - The index of the column.public void setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
throws TVCException
setValueAt in interface TableModelaValue - The new value. The class of the value corresponds with the
column type.rowIndex - The index of the row.columnIndex - The index of the column.TVCException - If unable to edit.public void addTableModelListener(TableModelListener l)
TableModeladdTableModelListener in interface TableModell - The listener to add.public void removeTableModelListener(TableModelListener l)
TableModelremoveTableModelListener in interface TableModell - The listener to remove.protected void fireTableContentChanged()
protected void fireTableRowsInserted(int index,
int count)
protected void fireTableRowsRemoved(int index,
int count)
Copyright ? Technia AB. All Rights Reserved.