* @param renderer
* the type of value
*/
- protected Column(String caption,
- ValueProvider<T, ? extends V> valueProvider,
+ protected Column(ValueProvider<T, ? extends V> valueProvider,
Renderer<V> renderer) {
Objects.requireNonNull(valueProvider,
"Value provider can't be null");
ValueProvider<T, ? extends V> valueProvider,
AbstractRenderer<? super T, V> renderer) {
String generatedIdentifier = getGeneratedIdentifier();
- Column<T, V> column = new Column<>("Column " + generatedIdentifier,
- valueProvider, renderer);
+ Column<T, V> column = new Column<>(valueProvider, renderer);
addColumn(generatedIdentifier, column);
return column;
}
String id = DesignAttributeHandler.readAttribute("column-id",
col.attributes(), null, String.class);
DeclarativeValueProvider<T> provider = new DeclarativeValueProvider<>();
- Column<T, String> column = new Column<>("", provider,
+ Column<T, String> column = new Column<>(provider,
new HtmlRenderer());
addColumn(getGeneratedIdentifier(), column);
if (id != null) {