/** * Creates and configures a TableColumnExt. <code>JXTable</code> calls * this method for each column in the <code>TableModel</code>. * * @param model the TableModel to read configuration properties from * @param modelIndex column index in model coordinates * @return a TableColumnExt to use for the modelIndex * @throws NPE if model == null * @throws IllegalStateException if the modelIndex is invalid * (in coordinate space of the tablemodel) * * @see #createTableColumn(int) * @see #configureTableColumn(TableModel, TableColumnExt) * @see org.jdesktop.swingx.JXTable#createDefaultColumnsFromModel() */ public TableColumnExt createAndConfigureTableColumn(TableModel model, int modelIndex) { TableColumnExt column = createTableColumn(modelIndex); if (column != null) { configureTableColumn(model, column); } return column; }
/** * Creates and configures a TableColumnExt. <code>JXTable</code> calls * this method for each column in the <code>TableModel</code>. * * @param model the TableModel to read configuration properties from * @param modelIndex column index in model coordinates * @return a TableColumnExt to use for the modelIndex * @throws NPE if model == null * @throws IllegalStateException if the modelIndex is invalid * (in coordinate space of the tablemodel) * * @see #createTableColumn(int) * @see #configureTableColumn(TableModel, TableColumnExt) * @see org.jdesktop.swingx.JXTable#createDefaultColumnsFromModel() */ public TableColumnExt createAndConfigureTableColumn(TableModel model, int modelIndex) { TableColumnExt column = createTableColumn(modelIndex); if (column != null) { configureTableColumn(model, column); } return column; }
/** * Creates and configures a TableColumnExt. <code>JXTable</code> calls * this method for each column in the <code>TableModel</code>. * * @param model the TableModel to read configuration properties from * @param modelIndex column index in model coordinates * @return a TableColumnExt to use for the modelIndex * @throws NPE if model == null * @throws IllegalStateException if the modelIndex is invalid * (in coordinate space of the tablemodel) * * @see #createTableColumn(int) * @see #configureTableColumn(TableModel, TableColumnExt) * @see org.jdesktop.swingx.JXTable#createDefaultColumnsFromModel() */ public TableColumnExt createAndConfigureTableColumn(TableModel model, int modelIndex) { TableColumnExt column = createTableColumn(modelIndex); if (column != null) { configureTableColumn(model, column); } return column; }
/** * Creates and configures a TableColumnExt. <code>JXTable</code> calls * this method for each column in the <code>TableModel</code>. * * @param model the TableModel to read configuration properties from * @param modelIndex column index in model coordinates * @return a TableColumnExt to use for the modelIndex * @throws NPE if model == null * @throws IllegalStateException if the modelIndex is invalid * (in coordinate space of the tablemodel) * * @see #createTableColumn(int) * @see #configureTableColumn(TableModel, TableColumnExt) * @see org.jdesktop.swingx.JXTable#createDefaultColumnsFromModel() */ public TableColumnExt createAndConfigureTableColumn(TableModel model, int modelIndex) { TableColumnExt column = createTableColumn(modelIndex); if (column != null) { configureTableColumn(model, column); } return column; }
/** * Creates and configures a TableColumnExt. <code>JXTable</code> calls * this method for each column in the <code>TableModel</code>. * * @param model the TableModel to read configuration properties from * @param modelIndex column index in model coordinates * @return a TableColumnExt to use for the modelIndex * @throws NPE if model == null * @throws IllegalStateException if the modelIndex is invalid * (in coordinate space of the tablemodel) * * @see #createTableColumn(int) * @see #configureTableColumn(TableModel, TableColumnExt) * @see org.jdesktop.swingx.JXTable#createDefaultColumnsFromModel() */ public TableColumnExt createAndConfigureTableColumn(TableModel model, int modelIndex) { TableColumnExt column = createTableColumn(modelIndex); if (column != null) { configureTableColumn(model, column); } return column; }
@Override public void configureTableColumn(final TableModel model, final TableColumnExt columnExt) { super.configureTableColumn(model, columnExt);