Class AbstractItemWrapperColumn<C extends Containerable,VW extends PrismValueWrapper>

java.lang.Object
org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<PrismContainerValueWrapper<C>,String>
com.evolveum.midpoint.gui.impl.component.data.column.AbstractItemWrapperColumn<C,VW>
All Implemented Interfaces:
Serializable, org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<PrismContainerValueWrapper<C>>, org.apache.wicket.extensions.markup.html.repeater.data.table.export.IExportableColumn<PrismContainerValueWrapper<C>,String>, org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<PrismContainerValueWrapper<C>,String>, org.apache.wicket.extensions.markup.html.repeater.data.table.IStyledColumn<PrismContainerValueWrapper<C>,String>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable
Direct Known Subclasses:
PrismContainerWrapperColumn, PrismPropertyWrapperColumn, PrismReferenceWrapperColumn

public abstract class AbstractItemWrapperColumn<C extends Containerable,VW extends PrismValueWrapper> extends org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<PrismContainerValueWrapper<C>,String> implements org.apache.wicket.extensions.markup.html.repeater.data.table.export.IExportableColumn<PrismContainerValueWrapper<C>,String>
Author:
skublik
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected ItemPath
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract <IW extends ItemWrapper>
    org.apache.wicket.Component
    createColumnPanel(String componentId, org.apache.wicket.model.IModel<IW> rowModel)
     
    protected abstract org.apache.wicket.Component
    createHeader(String componentId, org.apache.wicket.model.IModel<? extends PrismContainerDefinition<C>> mainModel)
     
     
    org.apache.wicket.Component
    getHeader(String componentId)
     
    void
    populateItem(org.apache.wicket.markup.repeater.Item<org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<PrismContainerValueWrapper<C>>> cellItem, String componentId, org.apache.wicket.model.IModel<PrismContainerValueWrapper<C>> rowModel)
     

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

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

    getDataModel, getDisplayModel
  • Field Details

    • itemName

      protected ItemPath itemName
  • Method Details

    • getHeader

      public org.apache.wicket.Component getHeader(String componentId)
      Specified by:
      getHeader in interface org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<C extends Containerable,VW extends PrismValueWrapper>
      Overrides:
      getHeader in class org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<PrismContainerValueWrapper<C extends Containerable>,String>
    • populateItem

      public void populateItem(org.apache.wicket.markup.repeater.Item<org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<PrismContainerValueWrapper<C>>> cellItem, String componentId, org.apache.wicket.model.IModel<PrismContainerValueWrapper<C>> rowModel)
      Specified by:
      populateItem in interface org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<C extends Containerable>
    • createHeader

      protected abstract org.apache.wicket.Component createHeader(String componentId, org.apache.wicket.model.IModel<? extends PrismContainerDefinition<C>> mainModel)
    • createColumnPanel

      protected abstract <IW extends ItemWrapper> org.apache.wicket.Component createColumnPanel(String componentId, org.apache.wicket.model.IModel<IW> rowModel)
    • getColumnType

      public AbstractItemWrapperColumn.ColumnType getColumnType()