|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ColumnSizingTableModel
This interface defines an extra method used to indicate a TableModel wants to give a newly created table hints regarding column width.
| Method Summary | |
|---|---|
int |
getColumnWidth(int columnIndex)
Specifies the default initial width of a column from this model. |
boolean |
isSizeToFit(int columnIndex)
Specifies whether setWidthToFit() should be enabled on this column. |
| Methods inherited from interface javax.swing.table.TableModel |
|---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
| Method Detail |
|---|
int getColumnWidth(int columnIndex)
columnIndex - int index of the model's column whose width should be obtained
boolean isSizeToFit(int columnIndex)
columnIndex - int index of the model's column whose width should be obtained
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||