edu.umd.cs.findbugs.gui

Class DefaultSortedTableModel

public class DefaultSortedTableModel extends AbstractTableModel

A Table model that sits between the JTable and the real model. This model converts view row indexes, into sorted model row indexes.
Field Summary
static intNUM_SORT_DIREECTIONS
static intSORT_ASCENDING_ORDER
static intSORT_DESCENDING_ORDER
static intSORT_NO_ORDER
Constructor Summary
DefaultSortedTableModel(AbstractTableModel model, JTableHeader header)
Method Summary
intgetBaseModelIndex(int viewIndex)
TableModelgetBaseTableModel()
intgetColumnCount()
intgetRowCount()
ObjectgetValueAt(int row, int col)

Field Detail

NUM_SORT_DIREECTIONS

public static final int NUM_SORT_DIREECTIONS

SORT_ASCENDING_ORDER

public static final int SORT_ASCENDING_ORDER

SORT_DESCENDING_ORDER

public static final int SORT_DESCENDING_ORDER

SORT_NO_ORDER

public static final int SORT_NO_ORDER

Constructor Detail

DefaultSortedTableModel

public DefaultSortedTableModel(AbstractTableModel model, JTableHeader header)

Method Detail

getBaseModelIndex

public int getBaseModelIndex(int viewIndex)

getBaseTableModel

public TableModel getBaseTableModel()

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getValueAt

public Object getValueAt(int row, int col)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.