Class InlineMenuButtonColumn<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.InlineMenuButtonColumn<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 InlineMenuButtonColumn<T extends Serializable> extends org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,String>
- Author:
- honchar, Viliam Repan (lazyman)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<InlineMenuItem>
menuItems
-
Constructor Summary
Constructors Constructor Description InlineMenuButtonColumn(List<InlineMenuItem> menuItems, PageBase pageBase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getButtonSizeCssClass()
org.apache.wicket.Component
getHeader(String componentId)
protected int
getNumberOfButtons(boolean isHeaderPanel)
protected boolean
isButtonMenuItemEnabled(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, getSortProperty
-
-
-
-
Field Detail
-
menuItems
protected List<InlineMenuItem> menuItems
-
-
Constructor Detail
-
InlineMenuButtonColumn
public InlineMenuButtonColumn(List<InlineMenuItem> menuItems, PageBase pageBase)
-
-
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)
-
getHeader
public org.apache.wicket.Component getHeader(String componentId)
- Specified by:
getHeader
in interfaceorg.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T extends Serializable,String>
- Overrides:
getHeader
in classorg.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T extends Serializable,String>
-
isButtonMenuItemEnabled
protected boolean isButtonMenuItemEnabled(org.apache.wicket.model.IModel<T> rowModel)
-
getButtonSizeCssClass
public String getButtonSizeCssClass()
-
getNumberOfButtons
protected int getNumberOfButtons(boolean isHeaderPanel)
-
-