public abstract class AbstractResourceTableModel<Resource extends ExternalResource> extends AbstractTableModel
Modifier and Type | Field and Description |
---|---|
protected AbstractResourceContainer<Resource> |
resourceContainer |
protected List<Resource> |
resourceList |
listenerList
Constructor and Description |
---|
AbstractResourceTableModel() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getColumnClass(int columnIndex) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
release() |
void |
resourceAdded(Resource connection) |
void |
resourceRemoved(Resource connection) |
void |
resourceUpdated(Resource connection) |
protected abstract void |
setColumnsWidths(TableColumnModel columnModel) |
void |
setResourceContainer(AbstractResourceContainer<Resource> resourceContainer) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumnCount
protected AbstractResourceContainer<Resource extends ExternalResource> resourceContainer
protected List<Resource extends ExternalResource> resourceList
public void setResourceContainer(AbstractResourceContainer<Resource> resourceContainer)
public void release()
public int getRowCount()
public Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public Object getValueAt(int rowIndex, int columnIndex)
public void resourceAdded(Resource connection)
public void resourceRemoved(Resource connection)
public void resourceUpdated(Resource connection)
protected abstract void setColumnsWidths(TableColumnModel columnModel)
Copyright © 2019. All rights reserved.