com.jaxfront.swing.ui.beans
Class JTableScrolling

java.lang.Object
  extended by com.jaxfront.swing.ui.beans.JTableScrolling

public abstract class JTableScrolling
extends java.lang.Object


Method Summary
static boolean areCellsVisible(javax.swing.JTable table, int firstRow, int lastRow, int firstColumn, int lastColumn)
           
static boolean areColumnsVisible(javax.swing.JTable table, int first, int last)
           
static boolean areRowsVisible(javax.swing.JTable table, int first, int last)
           
static void centerCell(javax.swing.JTable table, int row, int column)
           
static void centerCells(javax.swing.JTable table, int firstRow, int lastRow, int firstColumn, int lastColumn)
           
static void centerColumn(javax.swing.JTable table, int column)
           
static void centerColumns(javax.swing.JTable table, int first, int last)
           
static void centerRow(javax.swing.JTable table, int row)
           
static void centerRows(javax.swing.JTable table, int first, int last)
           
static java.awt.Rectangle getCellBounds(javax.swing.JTable table, int row, int column)
          For completeness.
static java.awt.Rectangle getCellBounds(javax.swing.JTable table, int firstRow, int lastRow, int firstColumn, int lastColumn)
           
static java.awt.Rectangle getColumnBounds(javax.swing.JTable table, int column)
           
static java.awt.Rectangle getColumnBounds(javax.swing.JTable table, int first, int last)
           
static java.awt.Rectangle getRowBounds(javax.swing.JTable table, int row)
           
static java.awt.Rectangle getRowBounds(javax.swing.JTable table, int first, int last)
           
static boolean isCellVisible(javax.swing.JTable table, int row, int column)
           
static boolean isColumnVisible(javax.swing.JTable table, int column)
           
static boolean isRowVisible(javax.swing.JTable table, int row)
           
static void makeCellsVisible(javax.swing.JTable table, int firstRow, int lastRow, int firstColumn, int lastColumn)
           
static void makeCellsVisible(javax.swing.JTable table, int firstRow, int lastRow, int firstColumn, int lastColumn, int bias)
           
static void makeCellsVisible(javax.swing.JTable table, int firstRow, int lastRow, int firstColumn, int lastColumn, int rowBias, int columnBias)
           
static void makeColumnsVisible(javax.swing.JTable table, int first, int last)
           
static void makeColumnsVisible(javax.swing.JTable table, int first, int last, int bias)
           
static void makeColumnVisible(javax.swing.JTable table, int column)
           
static void makeRowsVisible(javax.swing.JTable table, int first, int last)
           
static void makeRowsVisible(javax.swing.JTable table, int first, int last, int bias)
           
static void makeRowVisible(javax.swing.JTable table, int row)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRowBounds

public static java.awt.Rectangle getRowBounds(javax.swing.JTable table,
                                              int row)

getRowBounds

public static java.awt.Rectangle getRowBounds(javax.swing.JTable table,
                                              int first,
                                              int last)

getColumnBounds

public static java.awt.Rectangle getColumnBounds(javax.swing.JTable table,
                                                 int column)

getColumnBounds

public static java.awt.Rectangle getColumnBounds(javax.swing.JTable table,
                                                 int first,
                                                 int last)

getCellBounds

public static java.awt.Rectangle getCellBounds(javax.swing.JTable table,
                                               int row,
                                               int column)
For completeness. Only allows valid rows/columns.


getCellBounds

public static java.awt.Rectangle getCellBounds(javax.swing.JTable table,
                                               int firstRow,
                                               int lastRow,
                                               int firstColumn,
                                               int lastColumn)

makeRowVisible

public static void makeRowVisible(javax.swing.JTable table,
                                  int row)

makeColumnVisible

public static void makeColumnVisible(javax.swing.JTable table,
                                     int column)

makeRowsVisible

public static void makeRowsVisible(javax.swing.JTable table,
                                   int first,
                                   int last)

makeRowsVisible

public static void makeRowsVisible(javax.swing.JTable table,
                                   int first,
                                   int last,
                                   int bias)

makeColumnsVisible

public static void makeColumnsVisible(javax.swing.JTable table,
                                      int first,
                                      int last)

makeColumnsVisible

public static void makeColumnsVisible(javax.swing.JTable table,
                                      int first,
                                      int last,
                                      int bias)

makeCellsVisible

public static void makeCellsVisible(javax.swing.JTable table,
                                    int firstRow,
                                    int lastRow,
                                    int firstColumn,
                                    int lastColumn)

makeCellsVisible

public static void makeCellsVisible(javax.swing.JTable table,
                                    int firstRow,
                                    int lastRow,
                                    int firstColumn,
                                    int lastColumn,
                                    int bias)

makeCellsVisible

public static void makeCellsVisible(javax.swing.JTable table,
                                    int firstRow,
                                    int lastRow,
                                    int firstColumn,
                                    int lastColumn,
                                    int rowBias,
                                    int columnBias)

centerRow

public static void centerRow(javax.swing.JTable table,
                             int row)

centerColumn

public static void centerColumn(javax.swing.JTable table,
                                int column)

centerRows

public static void centerRows(javax.swing.JTable table,
                              int first,
                              int last)

centerColumns

public static void centerColumns(javax.swing.JTable table,
                                 int first,
                                 int last)

centerCell

public static void centerCell(javax.swing.JTable table,
                              int row,
                              int column)

centerCells

public static void centerCells(javax.swing.JTable table,
                               int firstRow,
                               int lastRow,
                               int firstColumn,
                               int lastColumn)

isRowVisible

public static boolean isRowVisible(javax.swing.JTable table,
                                   int row)

isColumnVisible

public static boolean isColumnVisible(javax.swing.JTable table,
                                      int column)

isCellVisible

public static boolean isCellVisible(javax.swing.JTable table,
                                    int row,
                                    int column)

areColumnsVisible

public static boolean areColumnsVisible(javax.swing.JTable table,
                                        int first,
                                        int last)

areRowsVisible

public static boolean areRowsVisible(javax.swing.JTable table,
                                     int first,
                                     int last)

areCellsVisible

public static boolean areCellsVisible(javax.swing.JTable table,
                                      int firstRow,
                                      int lastRow,
                                      int firstColumn,
                                      int lastColumn)