Class DoubleButtonColumn<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.DoubleButtonColumn<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 DoubleButtonColumn<T extends Serializable> extends org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,String>
- Author:
- shood
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DoubleButtonColumn.ButtonColorClass
static class
DoubleButtonColumn.ButtonSizeClass
-
Field Summary
Fields Modifier and Type Field Description static String
BUTTON_BASE_CLASS
static String
BUTTON_DISABLED
-
Constructor Summary
Constructors Constructor Description DoubleButtonColumn(org.apache.wicket.model.IModel<String> displayModel, String propertyExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
firstClicked(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<T> model)
DoubleButtonPanel
getButtonPanel()
String
getFirstCap()
String
getFirstColorCssClass()
String
getFirstSizeCssClass()
protected org.apache.wicket.model.IModel<T>
getRowModel()
String
getSecondCap()
String
getSecondColorCssClass()
String
getSecondSizeCssClass()
boolean
isFirstButtonEnabled(org.apache.wicket.model.IModel<T> model)
boolean
isSecondButtonEnabled(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)
void
secondClicked(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<T> model)
-
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
-
BUTTON_DISABLED
public static final String BUTTON_DISABLED
- 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)
-
firstClicked
public void firstClicked(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<T> model)
-
secondClicked
public void secondClicked(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<T> model)
-
getFirstSizeCssClass
public String getFirstSizeCssClass()
-
getSecondSizeCssClass
public String getSecondSizeCssClass()
-
getFirstColorCssClass
public String getFirstColorCssClass()
-
getSecondColorCssClass
public String getSecondColorCssClass()
-
getFirstCap
public String getFirstCap()
-
getSecondCap
public String getSecondCap()
-
isFirstButtonEnabled
public boolean isFirstButtonEnabled(org.apache.wicket.model.IModel<T> model)
-
isSecondButtonEnabled
public boolean isSecondButtonEnabled(org.apache.wicket.model.IModel<T> model)
-
getButtonPanel
public DoubleButtonPanel getButtonPanel()
-
getRowModel
protected org.apache.wicket.model.IModel<T> getRowModel()
-
-