Class TableColumnAdjuster
- java.lang.Object
-
- com.macrofocus.high_d.table.swing.TableColumnAdjuster
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
,javax.swing.event.TableModelListener
public class TableColumnAdjuster extends java.lang.Object implements java.beans.PropertyChangeListener, javax.swing.event.TableModelListener
-
-
Constructor Summary
Constructors Constructor Description TableColumnAdjuster(javax.swing.JTable table)
TableColumnAdjuster(javax.swing.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(java.beans.PropertyChangeEvent e)
void
restoreColumns()
void
setColumnDataIncluded(boolean isColumnDataIncluded)
void
setColumnHeaderIncluded(boolean isColumnHeaderIncluded)
void
setDynamicAdjustment(boolean isDynamicAdjustment)
void
setOnlyAdjustLarger(boolean isOnlyAdjustLarger)
void
tableChanged(javax.swing.event.TableModelEvent e)
-
-
-
Method Detail
-
adjustColumns
public void adjustColumns()
-
adjustColumn
public void adjustColumn(int column)
-
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(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
tableChanged
public void tableChanged(javax.swing.event.TableModelEvent e)
- Specified by:
tableChanged
in interfacejavax.swing.event.TableModelListener
-
-