/** * Returns the ColumnFactory. * <p> * * @return the columnFactory to use for column creation and configuration, * guaranteed to not be null. * * @see #setColumnFactory(ColumnFactory) * @see org.jdesktop.swingx.table.ColumnFactory */ public ColumnFactory getColumnFactory() { /* * TODO JW: think about implications of not/ copying the reference to * the shared instance into the table's field? Better access the * getInstance() on each call? We are on single thread anyway... * Furthermore, we don't expect the instance to change often, typically * it is configured on startup. So we don't really have to worry about * changes which would destabilize column state? */ if (columnFactory == null) { return ColumnFactory.getInstance(); // columnFactory = ColumnFactory.getInstance(); } return columnFactory; }
/** * Returns the ColumnFactory. * <p> * * @return the columnFactory to use for column creation and configuration, * guaranteed to not be null. * * @see #setColumnFactory(ColumnFactory) * @see org.jdesktop.swingx.table.ColumnFactory */ public ColumnFactory getColumnFactory() { /* * TODO JW: think about implications of not/ copying the reference to * the shared instance into the table's field? Better access the * getInstance() on each call? We are on single thread anyway... * Furthermore, we don't expect the instance to change often, typically * it is configured on startup. So we don't really have to worry about * changes which would destabilize column state? */ if (columnFactory == null) { return ColumnFactory.getInstance(); // columnFactory = ColumnFactory.getInstance(); } return columnFactory; }
/** * Returns the ColumnFactory. * <p> * * @return the columnFactory to use for column creation and configuration, * guaranteed to not be null. * * @see #setColumnFactory(ColumnFactory) * @see org.jdesktop.swingx.table.ColumnFactory */ public ColumnFactory getColumnFactory() { /* * TODO JW: think about implications of not/ copying the reference to * the shared instance into the table's field? Better access the * getInstance() on each call? We are on single thread anyway... * Furthermore, we don't expect the instance to change often, typically * it is configured on startup. So we don't really have to worry about * changes which would destabilize column state? */ if (columnFactory == null) { return ColumnFactory.getInstance(); // columnFactory = ColumnFactory.getInstance(); } return columnFactory; }
/** * Returns the ColumnFactory. * <p> * * @return the columnFactory to use for column creation and configuration, * guaranteed to not be null. * * @see #setColumnFactory(ColumnFactory) * @see org.jdesktop.swingx.table.ColumnFactory */ public ColumnFactory getColumnFactory() { /* * TODO JW: think about implications of not/ copying the reference to * the shared instance into the table's field? Better access the * getInstance() on each call? We are on single thread anyway... * Furthermore, we don't expect the instance to change often, typically * it is configured on startup. So we don't really have to worry about * changes which would destabilize column state? */ if (columnFactory == null) { return ColumnFactory.getInstance(); // columnFactory = ColumnFactory.getInstance(); } return columnFactory; }
/** * Returns the ColumnFactory. * <p> * * @return the columnFactory to use for column creation and configuration, * guaranteed to not be null. * * @see #setColumnFactory(ColumnFactory) * @see org.jdesktop.swingx.table.ColumnFactory */ public ColumnFactory getColumnFactory() { /* * TODO JW: think about implications of not/ copying the reference to * the shared instance into the table's field? Better access the * getInstance() on each call? We are on single thread anyway... * Furthermore, we don't expect the instance to change often, typically * it is configured on startup. So we don't really have to worry about * changes which would destabilize column state? */ if (columnFactory == null) { return ColumnFactory.getInstance(); // columnFactory = ColumnFactory.getInstance(); } return columnFactory; }