public class TableColumnAdjusterImpl extends java.lang.Object implements java.beans.PropertyChangeListener, javax.swing.event.TableModelListener, TableColumnAdjuster
Modifier | Constructor and Description |
---|---|
protected |
TableColumnAdjusterImpl(javax.swing.JTable table) |
protected |
TableColumnAdjusterImpl(javax.swing.JTable table,
javax.swing.JScrollPane scrollPane,
int spacing) |
Modifier and Type | Method and Description |
---|---|
void |
adjustColumn(int column) |
void |
adjustColumns() |
static TableColumnAdjusterImpl |
install(javax.swing.JTable table) |
void |
propertyChange(java.beans.PropertyChangeEvent e) |
void |
restoreColumns() |
TableColumnAdjusterImpl |
setColumnDataIncluded(boolean isColumnDataIncluded) |
TableColumnAdjusterImpl |
setColumnHeaderIncluded(boolean isColumnHeaderIncluded) |
TableColumnAdjusterImpl |
setDynamicAdjustment(boolean isDynamicAdjustment) |
TableColumnAdjusterImpl |
setOnlyAdjustLarger(boolean isOnlyAdjustLarger) |
void |
tableChanged(javax.swing.event.TableModelEvent e) |
void |
uninstall() |
protected TableColumnAdjusterImpl(javax.swing.JTable table)
protected TableColumnAdjusterImpl(javax.swing.JTable table, javax.swing.JScrollPane scrollPane, int spacing)
public static TableColumnAdjusterImpl install(javax.swing.JTable table)
public void uninstall()
uninstall
in interface TableColumnAdjuster
public void adjustColumns()
adjustColumns
in interface TableColumnAdjuster
public void adjustColumn(int column)
adjustColumn
in interface TableColumnAdjuster
public void restoreColumns()
restoreColumns
in interface TableColumnAdjuster
public TableColumnAdjusterImpl setColumnHeaderIncluded(boolean isColumnHeaderIncluded)
setColumnHeaderIncluded
in interface TableColumnAdjuster
public TableColumnAdjusterImpl setColumnDataIncluded(boolean isColumnDataIncluded)
setColumnDataIncluded
in interface TableColumnAdjuster
public TableColumnAdjusterImpl setOnlyAdjustLarger(boolean isOnlyAdjustLarger)
setOnlyAdjustLarger
in interface TableColumnAdjuster
public TableColumnAdjusterImpl setDynamicAdjustment(boolean isDynamicAdjustment)
setDynamicAdjustment
in interface TableColumnAdjuster
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
public void tableChanged(javax.swing.event.TableModelEvent e)
tableChanged
in interface javax.swing.event.TableModelListener