com.opensymphony.webwork.components.table
Class AbstractFilterModel
java.lang.Object
javax.swing.table.AbstractTableModel
com.opensymphony.webwork.components.table.AbstractFilterModel
- All Implemented Interfaces:
- Serializable, TableModel
- Direct Known Subclasses:
- RenderFilterModel, SortFilterModel
public abstract class AbstractFilterModel
- extends AbstractTableModel
- Version:
- 1.0
- Author:
- Onyeje Bose
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
model
protected TableModel model
AbstractFilterModel
public AbstractFilterModel(TableModel tm)
isCellEditable
public boolean isCellEditable(int par1,
int par2)
- Specified by:
isCellEditable
in interface TableModel
- Overrides:
isCellEditable
in class AbstractTableModel
getColumnClass
public Class getColumnClass(int par1)
- Specified by:
getColumnClass
in interface TableModel
- Overrides:
getColumnClass
in class AbstractTableModel
getColumnCount
public int getColumnCount()
getColumnName
public String getColumnName(int par1)
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class AbstractTableModel
setModel
public void setModel(TableModel model)
getModel
public TableModel getModel()
getRowCount
public int getRowCount()
setValueAt
public void setValueAt(Object par1,
int par2,
int par3)
- Specified by:
setValueAt
in interface TableModel
- Overrides:
setValueAt
in class AbstractTableModel
getValueAt
public Object getValueAt(int par1,
int par2)
addRow
public void addRow(Vector data)
throws IllegalStateException
- Throws:
IllegalStateException
removeAllRows
public void removeAllRows()
throws ArrayIndexOutOfBoundsException,
IllegalStateException
- Throws:
ArrayIndexOutOfBoundsException
IllegalStateException
removeRow
public void removeRow(int rowNum)
throws ArrayIndexOutOfBoundsException,
IllegalStateException
- Throws:
ArrayIndexOutOfBoundsException
IllegalStateException