Class GenericColumn<T,S>

java.lang.Object
org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,S>
com.evolveum.midpoint.web.component.data.column.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:
  • 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

    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    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 Details

    • 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 Details

    • 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>