|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.client.image.data.JTableUtil
public final class JTableUtil
Field Summary | |
---|---|
static int |
DEFAULT_NORMAL_WIDTH
|
Method Summary | |
---|---|
static void |
hideColumns(javax.swing.JTable table,
java.lang.String[] columnNames)
Sets the width of all the columnames in columnNames[] to zero. |
static boolean |
isColumnShown(javax.swing.JTable table,
int modelColumnNumber)
|
static void |
setColumnViewable(javax.swing.JTable table,
GeneralTableModel tableModel,
java.lang.Object columnIdentifier,
boolean isViewable)
|
static void |
setColumnViewable(javax.swing.JTable table,
int modelColumnNumber,
boolean isViewable)
Hides or unhides a column in the JTable. |
static void |
setColumnWidths(javax.swing.JTable table,
int width)
Used for setting the column-width-minimum to zero for all the columns in a jtable, allowing the user to "hide" columns |
static void |
setColumnWidthsToMinimum(javax.swing.JTable table,
javax.swing.table.TableModel tableModel)
Set the column-width-minimum to zero for all the columns in a jtable, allowing the user to "hide" columns |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_NORMAL_WIDTH
Method Detail |
---|
public static void setColumnWidths(javax.swing.JTable table, int width)
public static void setColumnViewable(javax.swing.JTable table, int modelColumnNumber, boolean isViewable)
public static boolean isColumnShown(javax.swing.JTable table, int modelColumnNumber)
public static void setColumnViewable(javax.swing.JTable table, GeneralTableModel tableModel, java.lang.Object columnIdentifier, boolean isViewable)
public static void setColumnWidthsToMinimum(javax.swing.JTable table, javax.swing.table.TableModel tableModel)
public static void hideColumns(javax.swing.JTable table, java.lang.String[] columnNames)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |