Class GenericColumn<T,​S>

  • All Implemented Interfaces:
    Serializable, org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>, org.apache.wicket.extensions.markup.html.repeater.data.table.export.IExportableColumn<T,​S>, org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T,​S>, org.apache.wicket.extensions.markup.html.repeater.data.table.IStyledColumn<T,​S>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable

    public class GenericColumn<T,​S>
    extends org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,​S>
    implements org.apache.wicket.extensions.markup.html.repeater.data.table.export.IExportableColumn<T,​S>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GenericColumn​(org.apache.wicket.model.IModel<String> displayModel, SerializableFunction<org.apache.wicket.model.IModel<T>,​org.apache.wicket.model.IModel<?>> dataModelProvider)  
      GenericColumn​(org.apache.wicket.model.IModel<String> displayModel, S sortProperty, SerializableFunction<org.apache.wicket.model.IModel<T>,​org.apache.wicket.model.IModel<?>> dataModelProvider)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.wicket.model.IModel<?> getDataModel​(org.apache.wicket.model.IModel<T> rowModel)  
      void populateItem​(org.apache.wicket.markup.repeater.Item<org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>> item, String componentId, org.apache.wicket.model.IModel<T> rowModel)  
      • Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn

        detach, getCssClass, getDisplayModel, getHeader, getSortProperty
      • 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
      • Methods inherited from interface org.apache.wicket.extensions.markup.html.repeater.data.table.export.IExportableColumn

        getDisplayModel
    • Constructor Detail

      • GenericColumn

        public GenericColumn​(org.apache.wicket.model.IModel<String> displayModel,
                             S sortProperty,
                             SerializableFunction<org.apache.wicket.model.IModel<T>,​org.apache.wicket.model.IModel<?>> dataModelProvider)
      • GenericColumn

        public GenericColumn​(org.apache.wicket.model.IModel<String> displayModel,
                             SerializableFunction<org.apache.wicket.model.IModel<T>,​org.apache.wicket.model.IModel<?>> dataModelProvider)
    • Method Detail

      • populateItem

        public void populateItem​(org.apache.wicket.markup.repeater.Item<org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>> item,
                                 String componentId,
                                 org.apache.wicket.model.IModel<T> rowModel)
        Specified by:
        populateItem in interface org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>
      • getDataModel

        public org.apache.wicket.model.IModel<?> getDataModel​(org.apache.wicket.model.IModel<T> rowModel)
        Specified by:
        getDataModel in interface org.apache.wicket.extensions.markup.html.repeater.data.table.export.IExportableColumn<T,​S>