jadex.util.jtable
Class AbstractIndexTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jadex.util.jtable.DelegateTableModel
jadex.util.jtable.AbstractIndexTableModel
- All Implemented Interfaces:
- Serializable, EventListener, TableModelListener, TableModel
- Direct Known Subclasses:
- SorterFilterTableModel
public abstract class AbstractIndexTableModel
- extends DelegateTableModel
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
AbstractIndexTableModel
public AbstractIndexTableModel(TableModel delegate)
tableRowsInserted
public abstract void tableRowsInserted(int column,
int firstRow,
int lastRow)
- Filter the model.
Subclasses should implement this methods to provide the filter logic.
tableRowsDeleted
public abstract void tableRowsDeleted(int column,
int firstRow,
int lastRow)
tableRowsUpdated
public abstract void tableRowsUpdated(int column,
int firstRow,
int lastRow)
getRowCount
public int getRowCount()
- Get the number of rows in the table.
- Specified by:
getRowCount
in interface TableModel
- Overrides:
getRowCount
in class DelegateTableModel
- Returns:
- The row count
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
- Specified by:
getValueAt
in interface TableModel
- Overrides:
getValueAt
in class DelegateTableModel
setValueAt
public void setValueAt(Object aValue,
int rowIndex,
int columnIndex)
- Specified by:
setValueAt
in interface TableModel
- Overrides:
setValueAt
in class DelegateTableModel
tableChanged
public void tableChanged(TableModelEvent evt)
- Signal that the table has changed in some way.
- Specified by:
tableChanged
in interface TableModelListener
- Overrides:
tableChanged
in class DelegateTableModel
- Parameters:
evt
- The TableModelEvent
mapRow
public int mapRow(int rowIndex)
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.