Class ButtonColumn<T extends Serializable>
java.lang.Object
com.premiumminds.wicket.crudifier.table.ButtonColumn<T>
- All Implemented Interfaces:
IColumn<T>,Serializable
public abstract class ButtonColumn<T extends Serializable> extends Object implements IColumn<T>, Serializable
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classButtonColumn.ButtonPanelstatic classButtonColumn.ButtonTypedefines the button type. -
Constructor Summary
Constructors Constructor Description ButtonColumn(String propertyName)ButtonColumn(String propertyName, ButtonColumn.ButtonType btnType)ButtonColumn(String propertyName, ButtonColumn.ButtonType btnType, ColumnAlign align)ButtonColumn(String propertyName, ColumnAlign align) -
Method Summary
Modifier and Type Method Description org.apache.wicket.ComponentcreateComponent(String id, T object, org.apache.wicket.Component resourceBase, Map<Class<?>,IObjectRenderer<?>> renderers)ColumnAligngetAlign()ButtonColumn.ButtonTypegetBtnType()protected StringgetCssClass()StringgetPropertyName()abstract voidonClick(org.apache.wicket.model.IModel<T> model, org.apache.wicket.ajax.AjaxRequestTarget target)voidsetBtnType(ButtonColumn.ButtonType btnType)voidsetPropertyName(String propertyName)
-
Constructor Details
-
Method Details
-
getPropertyName
- Specified by:
getPropertyNamein interfaceIColumn<T extends Serializable>
-
createComponent
public org.apache.wicket.Component createComponent(String id, T object, org.apache.wicket.Component resourceBase, Map<Class<?>,IObjectRenderer<?>> renderers)- Specified by:
createComponentin interfaceIColumn<T extends Serializable>
-
getAlign
- Specified by:
getAlignin interfaceIColumn<T extends Serializable>
-
onClick
public abstract void onClick(org.apache.wicket.model.IModel<T> model, org.apache.wicket.ajax.AjaxRequestTarget target) -
getCssClass
-
getBtnType
-
setBtnType
-
setPropertyName
-