Class TableColumnAdjuster
- java.lang.Object
-
- com.logicaldoc.enterprise.bulkcheckout.TableColumnAdjuster
-
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
,TableModelListener
public class TableColumnAdjuster extends Object implements PropertyChangeListener, TableModelListener
-
-
Constructor Summary
Constructors Constructor Description TableColumnAdjuster(JTable table)
TableColumnAdjuster(JTable table, int spacing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
void
updateTableColumn(int column, int width)
-
-
-
Method Detail
-
adjustColumns
public void adjustColumns()
-
adjustColumn
public void adjustColumn(int column)
-
updateTableColumn
public void updateTableColumn(int column, int width)
-
restoreColumns
public void restoreColumns()
-
setColumnHeaderIncluded
public void setColumnHeaderIncluded(boolean isColumnHeaderIncluded)
-
setColumnDataIncluded
public void setColumnDataIncluded(boolean isColumnDataIncluded)
-
setOnlyAdjustLarger
public void setOnlyAdjustLarger(boolean isOnlyAdjustLarger)
-
setDynamicAdjustment
public void setDynamicAdjustment(boolean isDynamicAdjustment)
-
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
tableChanged
public void tableChanged(TableModelEvent e)
- Specified by:
tableChanged
in interfaceTableModelListener
-
-