public abstract class ColumnBasedTableModel
extends java.lang.Object
implements javax.swing.table.TableModel
TableModel
.Modifier and Type | Class and Description |
---|---|
class |
ColumnBasedTableModel.Column |
Constructor and Description |
---|
ColumnBasedTableModel() |
Modifier and Type | Method and Description |
---|---|
void |
addTableModelListener(javax.swing.event.TableModelListener l) |
protected void |
fireTableChanged(javax.swing.event.TableModelEvent e) |
protected ColumnBasedTableModel.Column |
getColumn(int column) |
java.lang.Class |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int columnIndex) |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
int |
indexOfColumn(java.lang.String name) |
protected boolean |
isFiringEvents() |
void |
removeTableModelListener(javax.swing.event.TableModelListener l) |
protected void |
setColumns(java.util.Collection columns) |
protected void |
setFiringEvents(boolean firingEvents) |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex) |
protected ColumnBasedTableModel.Column getColumn(int column)
public void addTableModelListener(javax.swing.event.TableModelListener l)
addTableModelListener
in interface javax.swing.table.TableModel
public void removeTableModelListener(javax.swing.event.TableModelListener l)
removeTableModelListener
in interface javax.swing.table.TableModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.String getColumnName(int columnIndex)
getColumnName
in interface javax.swing.table.TableModel
public int indexOfColumn(java.lang.String name)
protected void setColumns(java.util.Collection columns)
public java.lang.Class getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
protected void setFiringEvents(boolean firingEvents)
protected boolean isFiringEvents()
protected void fireTableChanged(javax.swing.event.TableModelEvent e)
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface javax.swing.table.TableModel
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel