Class TableColumnAdjuster

java.lang.Object
se.datadosen.util.TableColumnAdjuster
All Implemented Interfaces:
PropertyChangeListener, EventListener, TableModelListener

public class TableColumnAdjuster extends Object implements PropertyChangeListener, TableModelListener
  • Constructor Details

    • TableColumnAdjuster

      public TableColumnAdjuster(JTable table)
    • TableColumnAdjuster

      public TableColumnAdjuster(JTable table, int spacing)
  • Method Details

    • 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(PropertyChangeEvent e)
      Specified by:
      propertyChange in interface PropertyChangeListener
    • tableChanged

      public void tableChanged(TableModelEvent e)
      Specified by:
      tableChanged in interface TableModelListener