public class TableColumnAdjuster extends Object implements PropertyChangeListener, TableModelListener
Constructor and Description |
---|
TableColumnAdjuster(JTable table) |
TableColumnAdjuster(JTable table,
int spacing) |
Modifier and Type | Method and Description |
---|---|
void |
adjustColumn(int column) |
void |
adjustColumns() |
void |
propertyChange(PropertyChangeEvent e) |
void |
restoreColumns() |
void |
setColumnDataIncluded(boolean isColumnDataIncluded) |
void |
setColumnHeaderIncluded(boolean isColumnHeaderIncluded) |
void |
setDynamicAdjustment(boolean isDynamicAdjustment) |
void |
setOnlyAdjustLarger(boolean isOnlyAdjustLarger) |
void |
tableChanged(TableModelEvent e) |
public TableColumnAdjuster(JTable table)
public TableColumnAdjuster(JTable table, int spacing)
public void adjustColumns()
public void adjustColumn(int column)
public void restoreColumns()
public void setColumnHeaderIncluded(boolean isColumnHeaderIncluded)
public void setColumnDataIncluded(boolean isColumnDataIncluded)
public void setOnlyAdjustLarger(boolean isOnlyAdjustLarger)
public void setDynamicAdjustment(boolean isDynamicAdjustment)
public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
public void tableChanged(TableModelEvent e)
tableChanged
in interface TableModelListener
Copyright © 2015–2021 Fiji. All rights reserved.