edu.jhu.tmaj.client.tables
Class FindFrame

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

public final class FindFrame
extends java.lang.Object

A Frame displayed in an InputPanel to search for values and optionally replace them.


Constructor Summary
FindFrame(javax.swing.JScrollPane scrollPane, javax.swing.JTable table, GeneralTableModel tableModel)
          Creates this object.
 
Method Summary
 void display()
          Display this frame, initialized for the specified column number.
 void display(int currentColumnNumber, java.awt.Component parentComponent)
           
static void seek(javax.swing.JScrollPane scrollPane, javax.swing.JTable table, int rowNumber)
          Scrolls the scrollPane to a specified row number in the JTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindFrame

public FindFrame(javax.swing.JScrollPane scrollPane,
                 javax.swing.JTable table,
                 GeneralTableModel tableModel)
Creates this object.

Parameters:
scrollPane - the JscrollPane containing the JTable that will be scrolled to display "Found" values.
table - the table contained in the JScrollPane
tableModel - the TableModel of the JTable
Method Detail

display

public void display()
Display this frame, initialized for the specified column number.


display

public void display(int currentColumnNumber,
                    java.awt.Component parentComponent)

seek

public static void seek(javax.swing.JScrollPane scrollPane,
                        javax.swing.JTable table,
                        int rowNumber)
Scrolls the scrollPane to a specified row number in the JTable