org.uacalc.ui.table
Class TableUtils

java.lang.Object
  extended by org.uacalc.ui.table.TableUtils

public class TableUtils
extends java.lang.Object

Table utilities like scrolling to make a row visible.

Author:
ralph

Constructor Summary
TableUtils()
           
 
Method Summary
static void scrollToVisible(javax.swing.JTable table, int rowIndex, int vColIndex)
          This comes from http://www.exampledepot.com/egs/javax.swing.table/Vis.html which is part of http://www.exampledepot.com/egs/javax.swing.table/pkg.html
static java.util.List<java.lang.Integer> updateOrderedSelection(javax.swing.JTable table, java.util.List<java.lang.Integer> currentList)
          This updates the current list of selected rows, keeping order the user selected them and return the list as a convenience.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableUtils

public TableUtils()
Method Detail

scrollToVisible

public static void scrollToVisible(javax.swing.JTable table,
                                   int rowIndex,
                                   int vColIndex)
This comes from http://www.exampledepot.com/egs/javax.swing.table/Vis.html which is part of http://www.exampledepot.com/egs/javax.swing.table/pkg.html

Parameters:
table -
rowIndex -
vColIndex -

updateOrderedSelection

public static java.util.List<java.lang.Integer> updateOrderedSelection(javax.swing.JTable table,
                                                                       java.util.List<java.lang.Integer> currentList)
This updates the current list of selected rows, keeping order the user selected them and return the list as a convenience.

Parameters:
table -
currentList -
Returns:


Copyright 2003 Ralph Freese. All Rights Reserved.