Class LinkColumn<T>
- java.lang.Object
-
- org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,String>
-
- com.evolveum.midpoint.web.component.data.column.LinkColumn<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 LinkColumn<T> extends org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,String> implements org.apache.wicket.extensions.markup.html.repeater.data.table.export.IExportableColumn<T,String>
- Author:
- lazyman
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LinkColumn(org.apache.wicket.model.IModel<String> displayModel)
LinkColumn(org.apache.wicket.model.IModel<String> displayModel, String propertyExpression)
LinkColumn(org.apache.wicket.model.IModel<String> displayModel, String sortProperty, String propertyExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.wicket.model.IModel
createLinkModel(org.apache.wicket.model.IModel<T> rowModel)
org.apache.wicket.model.IModel<String>
getDataModel(org.apache.wicket.model.IModel<T> rowModel)
protected String
getPropertyExpression()
boolean
isEnabled(org.apache.wicket.model.IModel<T> rowModel)
void
onClick(org.apache.wicket.model.IModel<T> rowModel)
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getPropertyExpression
protected String getPropertyExpression()
-
createLinkModel
protected org.apache.wicket.model.IModel createLinkModel(org.apache.wicket.model.IModel<T> rowModel)
-
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 interfaceorg.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<T>
-
isEnabled
public boolean isEnabled(org.apache.wicket.model.IModel<T> rowModel)
-
onClick
public void onClick(org.apache.wicket.model.IModel<T> rowModel)
-
-