Class EnumPropertyColumn<T>

java.lang.Object
org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,S>
org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn<T,String>
com.evolveum.midpoint.web.component.data.column.EnumPropertyColumn<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.export.IExportableColumn<T,String>, 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 class EnumPropertyColumn<T> extends org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn<T,String>
Author:
lazyman
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    EnumPropertyColumn(org.apache.wicket.model.IModel<String> displayModel, String propertyExpression)
     
    EnumPropertyColumn(org.apache.wicket.model.IModel<String> displayModel, String propertyExpression, String unknownKey)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.wicket.model.IModel<Object>
    getDataModel(org.apache.wicket.model.IModel<T> rowModel)
     
    protected String
    translate(Enum<?> en)
     

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

    getPropertyExpression, populateItem

    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

    • EnumPropertyColumn

      public EnumPropertyColumn(org.apache.wicket.model.IModel<String> displayModel, String propertyExpression)
    • EnumPropertyColumn

      public EnumPropertyColumn(org.apache.wicket.model.IModel<String> displayModel, String propertyExpression, String unknownKey)
  • Method Details

    • getDataModel

      public org.apache.wicket.model.IModel<Object> 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,String>
      Overrides:
      getDataModel in class org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn<T,String>
    • translate

      protected String translate(Enum<?> en)