org.apache.wicket.extensions.markup.html.repeater.data.table.export
Interface IExportableColumn<T,S,D>

Type Parameters:
T - The type of each row in the table.
S - The type of the sort property of the table.
D - The type of the data displayed by this column.
All Superinterfaces:
ICellPopulator<T>, org.apache.wicket.util.io.IClusterable, IColumn<T,S>, IDetachable, Serializable
All Known Implementing Classes:
AbstractExportableColumn, ChoiceFilteredPropertyColumn, FilteredPropertyColumn, PropertyColumn, TextFilteredPropertyColumn

public interface IExportableColumn<T,S,D>
extends IColumn<T,S>

An IColumn that can be exported. IExportableColumns provide methods for retrieving the data displayed by this column in a row. This data is used by IDataExporters to export data.

Author:
Jesse Long
See Also:
IDataExporter, ExportToolbar

Method Summary
 IModel<D> getDataModel(IModel<T> rowModel)
          Returns an IModel of the data displayed by this column for the rowModel provided.
 IModel<String> getDisplayModel()
          Returns a model of the column header.
 
Methods inherited from interface org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn
getHeader, getSortProperty, isSortable
 
Methods inherited from interface org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator
populateItem
 
Methods inherited from interface org.apache.wicket.model.IDetachable
detach
 

Method Detail

getDataModel

IModel<D> getDataModel(IModel<T> rowModel)
Returns an IModel of the data displayed by this column for the rowModel provided.

Parameters:
rowModel - An IModel of the row data.
Returns:
an IModel of the data displayed by this column for the rowModel provided.

getDisplayModel

IModel<String> getDisplayModel()
Returns a model of the column header. The content of this model is used as a heading for the column when it is exported.

Returns:
a model of the column header.


Copyright © 2006–2020 Apache Software Foundation. All rights reserved.