java.lang.Object
org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,String>
com.evolveum.midpoint.web.component.data.column.IconColumn<T>
All Implemented Interfaces:
Serializable, org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>, org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T,String>, org.apache.wicket.extensions.markup.html.repeater.data.table.IStyledColumn<T,String>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable

public abstract class IconColumn<T> extends org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,String>
Author:
lazyman
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    IconColumn(org.apache.wicket.model.IModel<String> displayModel)
     
    IconColumn(org.apache.wicket.model.IModel<String> displayModel, String sortProperty)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected abstract DisplayType
    getIconDisplayType(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>> cellItem, String componentId, org.apache.wicket.model.IModel<T> rowModel)
     

    Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn

    detach, 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

    getHeaderColspan, getHeaderRowspan, isSortable
  • Constructor Details

    • IconColumn

      public IconColumn(org.apache.wicket.model.IModel<String> displayModel)
    • IconColumn

      public IconColumn(org.apache.wicket.model.IModel<String> displayModel, String sortProperty)
  • Method Details

    • getCssClass

      public String getCssClass()
      Specified by:
      getCssClass in interface org.apache.wicket.extensions.markup.html.repeater.data.table.IStyledColumn<T,String>
      Overrides:
      getCssClass in class org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,String>
    • populateItem

      public void populateItem(org.apache.wicket.markup.repeater.Item<org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>> cellItem, String componentId, org.apache.wicket.model.IModel<T> rowModel)
    • getIconDisplayType

      protected abstract DisplayType getIconDisplayType(org.apache.wicket.model.IModel<T> rowModel)