edu.jhu.tmaj.client.tables
Class SortFilterDialog

java.lang.Object
  extended by edu.jhu.tmaj.client.tables.SortFilterDialog

public final class SortFilterDialog
extends java.lang.Object

A Frame that allows the sorting rows in a JTable (based upon TableComparitor) and the filtering of rows based upon user input.


Constructor Summary
SortFilterDialog(javax.swing.JTable table, GeneralTableModel tableModel, javax.swing.JScrollPane scrollPane, TableData4 tableData)
           
 
Method Summary
 void displayDialog(java.awt.Component parentComponent, java.awt.Point point)
           
 void removeFilterSort()
           
 void setCell(int row, int column)
           
 void setOriginalDataList(java.util.List originalDataList)
          Sets the data list that contains all rows, which is displayed initially and when the user removes the filter and sort.
static void shrinkFont(javax.swing.JComponent component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortFilterDialog

public SortFilterDialog(javax.swing.JTable table,
                        GeneralTableModel tableModel,
                        javax.swing.JScrollPane scrollPane,
                        TableData4 tableData)
Method Detail

displayDialog

public void displayDialog(java.awt.Component parentComponent,
                          java.awt.Point point)

shrinkFont

public static void shrinkFont(javax.swing.JComponent component)

setOriginalDataList

public void setOriginalDataList(java.util.List originalDataList)
Sets the data list that contains all rows, which is displayed initially and when the user removes the filter and sort.


removeFilterSort

public void removeFilterSort()

setCell

public void setCell(int row,
                    int column)