Interface IExportableColumn<T,S>
-
- Type Parameters:
T
- The type of each row in the table.S
- The type of the sort property of the table.
- All Superinterfaces:
ICellPopulator<T>
,IClusterable
,IColumn<T,S>
,IDetachable
,Serializable
- All Known Implementing Classes:
AbstractExportableColumn
,ChoiceFilteredPropertyColumn
,FilteredPropertyColumn
,LambdaColumn
,PropertyColumn
,TextFilteredPropertyColumn
public interface IExportableColumn<T,S> extends IColumn<T,S>
AnIColumn
that can be exported.IExportableColumn
s provide methods for retrieving the data displayed by this column in a row. This data is used byIDataExporter
s to export data.- Author:
- Jesse Long
- See Also:
IDataExporter
,ExportToolbar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IModel<?>
getDataModel(IModel<T> rowModel)
Returns anIModel
of the data displayed by this column for therowModel
provided.IModel<String>
getDisplayModel()
Returns a model of the column header.-
Methods inherited from interface org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator
populateItem
-
Methods inherited from interface org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn
getHeader, getHeaderColspan, getHeaderRowspan, getSortProperty, isSortable
-
Methods inherited from interface org.apache.wicket.model.IDetachable
detach
-
-
-
-
Method Detail
-
getDataModel
IModel<?> getDataModel(IModel<T> rowModel)
Returns anIModel
of the data displayed by this column for therowModel
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.
-
-