com.jaxfront.swing.ui.tools
Class TablePacker
java.lang.Object
com.jaxfront.swing.ui.tools.TablePacker
public class TablePacker
- extends java.lang.Object
MySwing: Advanced Swing Utilites Copyright (C) 2005 Santhosh Kumar T
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option)
any later version. This library is distributed in the hope that it will
be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
General Public License for more details.
- Author:
- Santhosh Kumar T
Constructor Summary |
TablePacker(int rowsIncluded,
boolean distributeExtraArea)
|
Method Summary |
void |
alternate(javax.swing.table.JTableHeader header,
javax.swing.table.TableColumn tableColumn,
int margin,
boolean withHeader)
|
void |
pack(javax.swing.JTable table,
boolean useAlternateAlgorithm)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VISIBLE_ROWS
public static final int VISIBLE_ROWS
- See Also:
- Constant Field Values
ALL_ROWS
public static final int ALL_ROWS
- See Also:
- Constant Field Values
NO_ROWS
public static final int NO_ROWS
- See Also:
- Constant Field Values
TablePacker
public TablePacker(int rowsIncluded,
boolean distributeExtraArea)
pack
public void pack(javax.swing.JTable table,
boolean useAlternateAlgorithm)
alternate
public void alternate(javax.swing.table.JTableHeader header,
javax.swing.table.TableColumn tableColumn,
int margin,
boolean withHeader)