public class AddDeleteColumn<M,I,S> extends SubmitCancelColumn<M,I,S>
| Constructor and Description |
|---|
AddDeleteColumn(String columnId,
org.apache.wicket.model.IModel<String> headerModel)
Create a new AddDeleteColumn
|
| Modifier and Type | Method and Description |
|---|---|
protected Icon |
getDeleteIcon() |
org.apache.wicket.Component |
newCell(org.apache.wicket.markup.html.WebMarkupContainer parent,
String componentId,
org.apache.wicket.model.IModel<I> rowModel)
Creates a new cell component.
|
protected void |
onDelete(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.model.IModel<I> rowModel,
org.apache.wicket.markup.html.WebMarkupContainer rowComponent) |
cellClicked, getCancelIcon, getCellCssClass, getSubmitIcon, onCancel, onError, onSubmitteddetach, getColSpan, getGrid, getHeaderCssClass, getHeaderModel, getHeaderTooltipModel, getId, getInitialSize, getMaxSize, getMinSize, getSizeUnit, getSortProperty, getWrapText, isLightWeight, isReorderable, isResizable, newCell, newHeader, setGrid, setHeaderTooltipModel, setInitialSize, setMaxSize, setMinSize, setReorderable, setResizable, setSizeUnit, setWrapTextpublic org.apache.wicket.Component newCell(org.apache.wicket.markup.html.WebMarkupContainer parent,
String componentId,
org.apache.wicket.model.IModel<I> rowModel)
AbstractColumnIGridColumn.isLightWeight(IModel) returns false ).newCell in interface IGridColumn<M,I,S>newCell in class SubmitCancelColumn<M,I,S>parent - Parent component. This is passed in only for convenience, the method
implementation is not supposed to add the newly created component to the
parent.componentId - required id of newly created componentsrowModel - model for given rowprotected Icon getDeleteIcon()
protected void onDelete(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.model.IModel<I> rowModel,
org.apache.wicket.markup.html.WebMarkupContainer rowComponent)
Copyright © 2015. All rights reserved.