public class ModelLoaderImpl extends Object implements ModelLoader
| Constructor and Description |
|---|
ModelLoaderImpl(DefaultTableModel tableModel) |
| Modifier and Type | Method and Description |
|---|---|
TableCellEditor |
getCellEditorForColumn(int column) |
String[] |
getColumnNames() |
int[] |
getColumnWidths() |
TableCellRenderer |
getRenderForColumn(int column) |
TableModel |
getTableModel() |
void |
setCellEditorForColumn(int column,
TableCellEditor editor) |
void |
setColumnNames(String[] columnNames) |
void |
setColumnWidths(int[] columnWidths) |
void |
setRenderForColumn(int column,
TableCellRenderer render) |
public ModelLoaderImpl(DefaultTableModel tableModel)
public TableCellEditor getCellEditorForColumn(int column)
getCellEditorForColumn in interface ModelLoaderpublic TableCellRenderer getRenderForColumn(int column)
getRenderForColumn in interface ModelLoaderpublic TableModel getTableModel()
getTableModel in interface ModelLoaderpublic void setCellEditorForColumn(int column,
TableCellEditor editor)
setCellEditorForColumn in interface ModelLoaderpublic void setRenderForColumn(int column,
TableCellRenderer render)
setRenderForColumn in interface ModelLoaderpublic String[] getColumnNames()
getColumnNames in interface ModelLoaderpublic int[] getColumnWidths()
getColumnWidths in interface ModelLoaderpublic void setColumnNames(String[] columnNames)
setColumnNames in interface ModelLoaderpublic void setColumnWidths(int[] columnWidths)
setColumnWidths in interface ModelLoader