Class ObjectLinkColumn<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 ObjectLinkColumn<T>
    extends AjaxLinkColumn<T>
    implements org.apache.wicket.extensions.markup.html.repeater.data.table.export.IExportableColumn<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<String> getDataModel​(org.apache.wicket.model.IModel<T> rowModel)  
      boolean isEnabled​(org.apache.wicket.model.IModel<T> rowModel)  
      void onClick​(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<T> rowModel, ObjectType targetObjectType)  
      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, 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

      • ObjectLinkColumn

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

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

        public ObjectLinkColumn​(org.apache.wicket.model.IModel<String> displayModel,
                                String sortProperty,
                                String propertyExpression)
    • Method Detail

      • 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)
        Specified by:
        populateItem in interface org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>
        Overrides:
        populateItem in class AjaxLinkColumn<T>
      • isEnabled

        public boolean isEnabled​(org.apache.wicket.model.IModel<T> rowModel)
        Overrides:
        isEnabled in class AjaxLinkColumn<T>
      • onClick

        public void onClick​(org.apache.wicket.ajax.AjaxRequestTarget target,
                            org.apache.wicket.model.IModel<T> rowModel,
                            ObjectType targetObjectType)
      • getDataModel

        public org.apache.wicket.model.IModel<String> 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 AjaxLinkColumn<T>