JIDE 3.5.15

com.jidesoft.grid
Interface TableColumnWidthKeeper

All Known Implementing Classes:
DefaultTableColumnWidthKeeper

public interface TableColumnWidthKeeper

This is an interface used by JideTable to save the table column width and order before table structure changed event so that the columns' width and order can be restored later.


Method Summary
 void restoreTableColumnWidth(JTable table, Object savedWidth)
          Restores the table column width from the same information.
 Object saveTableColumnWidth(JTable table)
          Saves the table column width into an object.
 

Method Detail

saveTableColumnWidth

Object saveTableColumnWidth(JTable table)
Saves the table column width into an object.

Parameters:
table - the table.
Returns:
the column width information.

restoreTableColumnWidth

void restoreTableColumnWidth(JTable table,
                             Object savedWidth)
Restores the table column width from the same information.

Parameters:
table - the table.
savedWidth - the saved table column width information.

JIDE 3.5.15