JIDE 3.5.15

com.jidesoft.grid
Interface ColumnWidthTableModel

All Known Implementing Classes:
TransposeTableModel

public interface ColumnWidthTableModel

This is an interface to store column width in the table model so that you don't have to get instance of TableColumnModel to set each column width.


Method Summary
 int getMaximumWidth(int column)
          Returns the maximum width of the column.
 int getMinimumWidth(int column)
          Returns the minimum width of the column.
 int getPreferredWidth(int column)
          Returns the preferred width of the column.
 

Method Detail

getMinimumWidth

int getMinimumWidth(int column)
Returns the minimum width of the column.

Parameters:
column - the column index
Returns:
the minimum width. -1 means the minimum width is not configured yet.

getPreferredWidth

int getPreferredWidth(int column)
Returns the preferred width of the column.

Parameters:
column - the column index
Returns:
the preferred width. -1 means the preferred width is not configured yet.

getMaximumWidth

int getMaximumWidth(int column)
Returns the maximum width of the column.

Parameters:
column - the column index
Returns:
the maximum width. -1 means the maximum width is not configured yet.

JIDE 3.5.15