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