Class CheckBoxColumn<T extends Serializable>

java.lang.Object
org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,String>
com.evolveum.midpoint.web.component.data.column.CheckBoxColumn<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
Direct Known Subclasses:
CheckBoxHeaderColumn, EditableCheckboxColumn

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

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

    Modifier and Type
    Method
    Description
    protected org.apache.wicket.model.IModel<Boolean>
    getCheckBoxValueModel(org.apache.wicket.model.IModel<T> rowModel)
     
     
    protected org.apache.wicket.model.IModel<Boolean>
    getEnabled(org.apache.wicket.model.IModel<T> rowModel)
     
    protected String
     
    protected void
    onUpdateRow(org.apache.wicket.markup.repeater.Item<org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>> cellItem, org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable table, org.apache.wicket.model.IModel<T> rowModel, org.apache.wicket.model.IModel<Boolean> selected)
     
    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)
     
    protected void
    processBehaviourOfCheckBox(IsolatedCheckBoxPanel check, org.apache.wicket.model.IModel<T> rowModel)
     
    void
    setEnabled(boolean enabled)
     

    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

    • CheckBoxColumn

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

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

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

      protected void processBehaviourOfCheckBox(IsolatedCheckBoxPanel check, org.apache.wicket.model.IModel<T> rowModel)
    • getCheckBoxValueModel

      protected org.apache.wicket.model.IModel<Boolean> getCheckBoxValueModel(org.apache.wicket.model.IModel<T> rowModel)
    • getCssClass

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

      protected org.apache.wicket.model.IModel<Boolean> getEnabled(org.apache.wicket.model.IModel<T> rowModel)
    • setEnabled

      public void setEnabled(boolean enabled)
    • onUpdateRow

      protected void onUpdateRow(org.apache.wicket.markup.repeater.Item<org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>> cellItem, org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable table, org.apache.wicket.model.IModel<T> rowModel, org.apache.wicket.model.IModel<Boolean> selected)
    • getPropertyExpression

      protected String getPropertyExpression()