public class ListColumnExportRenderer<I> extends Object implements Renderer<ListColumnAction<I,?>>
ItemContext
that is used by the table exporter. If the ListColumnAction.getExportFormatter()
returns a non-null object, it is stored in the context under the
key export.formatter.exportProperty
. The
renderer also set the export.dataloader.exportProperty
to a ListColumnDataLoader
instance which simply forwards the
call to ListColumnAction.getExportValue(net.sf.basedb.core.DbControl, Object)
.Modifier and Type | Field and Description |
---|---|
private ItemContext |
exportContext |
Constructor and Description |
---|
ListColumnExportRenderer(ItemContext exportContext) |
private final ItemContext exportContext
public ListColumnExportRenderer(ItemContext exportContext)
public void render(ListColumnAction<I,?> action)
Renderer
render
in interface Renderer<ListColumnAction<I,?>>
action
- The action to render