| 
FreeHEP API Version current  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.freehep.swing.table.TableColumnPacker
| Constructor Summary | |
TableColumnPacker()
 | 
|
| Method Summary | |
 int | 
getHeaderMargin()
 | 
 int | 
getMargin()
 | 
 int | 
getMaxscan()
 | 
 void | 
packColumns(JTable table)
Sets the preferred with of all columns to be just large enough to contain the widest entry in the column.  | 
 void | 
setHeaderMargin(int headerMargin)
The margin to use for the header.  | 
 void | 
setMargin(int margin)
A margin on the left and right of the column.  | 
 void | 
setMaxscan(int maxscan)
If maxscan is set (default 50) then only the first and last maxscan rows are measured.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public TableColumnPacker()
| Method Detail | 
public void packColumns(JTable table)
table - The table to packpublic int getHeaderMargin()
public void setHeaderMargin(int headerMargin)
headerMargin - The headerMargin to set.public int getMargin()
public void setMargin(int margin)
margin - The margin to set.public int getMaxscan()
public void setMaxscan(int maxscan)
maxscan - The maxscan to set, or 0 to clear maxscan.
  | 
FreeHEP API Version current  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||