jsky.util.gui
Class TableUtil

java.lang.Object
  extended by jsky.util.gui.TableUtil

public class TableUtil
extends Object

Implements static utility methods for use with JTables.

Version:
$Revision: 1.7 $
Author:
Allan Brighton

Constructor Summary
TableUtil()
           
 
Method Summary
static TableCellRenderer getDefaultRenderer(JTable table, TableColumn column)
          Return the default cell renderer for the given JTable column.
static int getWidestRow(TableModel model, int col)
           
static int initColumnSizes(JTable table, boolean[] show)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableUtil

public TableUtil()
Method Detail

getDefaultRenderer

public static TableCellRenderer getDefaultRenderer(JTable table,
                                                   TableColumn column)
Return the default cell renderer for the given JTable column.


initColumnSizes

public static int initColumnSizes(JTable table,
                                  boolean[] show)

getWidestRow

public static int getWidestRow(TableModel model,
                               int col)


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.