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 ModelLoader
public TableCellRenderer getRenderForColumn(int column)
getRenderForColumn
in interface ModelLoader
public TableModel getTableModel()
getTableModel
in interface ModelLoader
public void setCellEditorForColumn(int column, TableCellEditor editor)
setCellEditorForColumn
in interface ModelLoader
public void setRenderForColumn(int column, TableCellRenderer render)
setRenderForColumn
in interface ModelLoader
public String[] getColumnNames()
getColumnNames
in interface ModelLoader
public int[] getColumnWidths()
getColumnWidths
in interface ModelLoader
public void setColumnNames(String[] columnNames)
setColumnNames
in interface ModelLoader
public void setColumnWidths(int[] columnWidths)
setColumnWidths
in interface ModelLoader