public abstract class ColumnsBuilder extends Object
gridData.setColumnsBuilder(new ColumnsBuilder(...) {...});. This use case doesn't have to deal with
concurrency issues, so no special care is taken to make this class ThreadSafe.| Constructor and Description |
|---|
ColumnsBuilder()
Creates a new ColumnsBuilder object which gets a map of parameters.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnDefinition |
addColumn(String name)
Add a new column to the chain.
|
abstract void |
configure()
The central method to configure the chain of columns.
|
List<ColumnDefinition> |
getColumns()
return the chain of columns (which should have been created in the configure method).
|
String |
toString() |
public ColumnsBuilder()
public abstract void configure()
public final ColumnDefinition addColumn(String name)
name - the name of the new columnpublic final List<ColumnDefinition> getColumns()
Copyright © 2011-2013. All Rights Reserved.