Class PrismReferenceWrapperColumn<C extends Containerable,R extends Referencable>
- 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,PrismValueWrapper<R>>
-
- com.evolveum.midpoint.gui.impl.component.data.column.PrismReferenceWrapperColumn<C,R>
-
- 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
public class PrismReferenceWrapperColumn<C extends Containerable,R extends Referencable> extends AbstractItemWrapperColumn<C,PrismValueWrapper<R>>
- Author:
- skublik
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.gui.impl.component.data.column.AbstractItemWrapperColumn
AbstractItemWrapperColumn.ColumnType
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.gui.impl.component.data.column.AbstractItemWrapperColumn
itemName
-
-
Constructor Summary
Constructors Constructor Description PrismReferenceWrapperColumn(org.apache.wicket.model.IModel<? extends PrismContainerDefinition<C>> mainModel, ItemPath itemName, AbstractItemWrapperColumn.ColumnType columnType, PageBase pageBase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <IW extends ItemWrapper>
org.apache.wicket.ComponentcreateColumnPanel(String componentId, org.apache.wicket.model.IModel<IW> rowModel)
protected org.apache.wicket.Component
createHeader(String componentId, org.apache.wicket.model.IModel<? extends PrismContainerDefinition<C>> mainModel)
PrismReferenceWrapperModel<C,R>
getDataModel(org.apache.wicket.model.IModel<PrismContainerValueWrapper<C>> rowModel)
boolean
isClickEnabled(org.apache.wicket.model.IModel<PrismReferenceWrapper<R>> rowModel)
protected void
onClick(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<C>> model)
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.column.AbstractItemWrapperColumn
getColumnType, getHeader, populateItem
-
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
-
-
-
-
Constructor Detail
-
PrismReferenceWrapperColumn
public PrismReferenceWrapperColumn(org.apache.wicket.model.IModel<? extends PrismContainerDefinition<C>> mainModel, ItemPath itemName, AbstractItemWrapperColumn.ColumnType columnType, PageBase pageBase)
-
-
Method Detail
-
getDataModel
public PrismReferenceWrapperModel<C,R> getDataModel(org.apache.wicket.model.IModel<PrismContainerValueWrapper<C>> rowModel)
-
createHeader
protected org.apache.wicket.Component createHeader(String componentId, org.apache.wicket.model.IModel<? extends PrismContainerDefinition<C>> mainModel)
- Specified by:
createHeader
in classAbstractItemWrapperColumn<C extends Containerable,PrismValueWrapper<R extends Referencable>>
-
createColumnPanel
protected <IW extends ItemWrapper> org.apache.wicket.Component createColumnPanel(String componentId, org.apache.wicket.model.IModel<IW> rowModel)
- Specified by:
createColumnPanel
in classAbstractItemWrapperColumn<C extends Containerable,PrismValueWrapper<R extends Referencable>>
-
onClick
protected void onClick(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<C>> model)
-
isClickEnabled
public boolean isClickEnabled(org.apache.wicket.model.IModel<PrismReferenceWrapper<R>> rowModel)
-
-