Class 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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 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

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

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