com.sptci.echo.table
Class AbstractTableModel<D>
java.lang.Object
nextapp.echo.app.table.AbstractTableModel
com.sptci.echo.table.AbstractTableModel<D>
- Type Parameters:
D - The class type of the model object displayed in the table.
- All Implemented Interfaces:
- Serializable, TableModel
- Direct Known Subclasses:
- TableModel
public abstract class AbstractTableModel<D>
- extends AbstractTableModel
A genericised TableModel used to
hold instances of objects of the type specified. Contains a default
implementation for the SortableTableModel.getSortDirection(int) method.
© Copyright 2007 Sans Pareil Technologies, Inc.
- Version:
- $Id: AbstractTableModel.java 4859 2009-08-12 20:52:19Z rakesh $
- Author:
- Rakesh Vidyadharan 2007-11-13
- See Also:
- Serialized Form
| Methods inherited from class nextapp.echo.app.table.AbstractTableModel |
addTableModelListener, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getEventListenerList, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sortDirection
protected SortableTableModel.Direction sortDirection
- The sort directive for the current column.
sortIndex
protected int sortIndex
- The current column that is sorted by.
AbstractTableModel
public AbstractTableModel()
getSortDirection
public SortableTableModel.Direction getSortDirection(int column)
init
public abstract void init()
- The method used to initialise the table model. The table to which
this model is applied will usually invoke this method to initialise
the model (typically in the
Component.init()
method.