Class SingleButtonColumn<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.SingleButtonColumn<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
public class SingleButtonColumn<T extends Serializable> extends org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,String>
EXPERIMENTAL- Author:
- shood
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BUTTON_BASE_CLASS
-
Constructor Summary
Constructors Constructor Description SingleButtonColumn(org.apache.wicket.model.IModel<String> displayModel, String propertyExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clickPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<T> model)
String
getButtonCssColorClass()
String
getButtonCssSizeClass()
SingleButtonPanel
getButtonPanel()
String
getCaption()
protected org.apache.wicket.model.IModel<T>
getRowModel()
boolean
isButtonEnabled(org.apache.wicket.model.IModel<T> model)
boolean
isButtonVisible(org.apache.wicket.model.IModel<T> model)
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
-
-
-
-
Field Detail
-
BUTTON_BASE_CLASS
public static final String BUTTON_BASE_CLASS
- See Also:
- Constant Field Values
-
-
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)
-
clickPerformed
public void clickPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<T> model)
-
getButtonCssSizeClass
public String getButtonCssSizeClass()
-
getButtonCssColorClass
public String getButtonCssColorClass()
-
getCaption
public String getCaption()
-
isButtonEnabled
public boolean isButtonEnabled(org.apache.wicket.model.IModel<T> model)
-
isButtonVisible
public boolean isButtonVisible(org.apache.wicket.model.IModel<T> model)
-
getButtonPanel
public SingleButtonPanel getButtonPanel()
-
getRowModel
protected org.apache.wicket.model.IModel<T> getRowModel()
-
-