/** * Method to return the {@link BeanItemContainer} associated with this object. * * @return the {@link BeanItemContainer} */ public BeanItemContainer<Wallboard> getBeanContainer() { return new BeanItemContainer<Wallboard>(Wallboard.class, m_wallboards.getWallboards()); }
@SuppressWarnings("deprecation") public void setOptions(Collection<T> options) { select.setContainerDataSource(new BeanItemContainer<>(options)); }
columnsTable.setWidth(25, Unit.PERCENTAGE); final BeanItemContainer<ColumnDef> columns = new BeanItemContainer<ColumnDef>(ColumnDef.class, view.getColumns()); rowsTable.setWidth(25, Unit.PERCENTAGE); final BeanItemContainer<RowDef> rows = new BeanItemContainer<RowDef>(RowDef.class, view.getRows());