T - The column's model object typeF - Filter's model object typeS - the type of the sort propertypublic class TextFilteredPropertyColumn<T,F,S> extends FilteredPropertyColumn<T,S>
| Constructor and Description |
|---|
TextFilteredPropertyColumn(IModel<String> displayModel,
S sortProperty,
String propertyExpression) |
TextFilteredPropertyColumn(IModel<String> displayModel,
String propertyExpression) |
| Modifier and Type | Method and Description |
|---|---|
Component |
getFilter(String componentId,
FilterForm<?> form)
Returns the component used by user to filter the column.
|
protected IModel<F> |
getFilterModel(FilterForm<?> form)
Returns the model that will be passed on to the text filter.
|
getDataModel, getPropertyExpression, populateItemdetach, getCssClass, getDisplayModel, getHeader, getSortProperty, isSortableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHeader, getSortProperty, isSortablepopulateItemdetachgetDisplayModelpublic TextFilteredPropertyColumn(IModel<String> displayModel, S sortProperty, String propertyExpression)
displayModel - sortProperty - propertyExpression - public Component getFilter(String componentId, FilterForm<?> form)
IFilteredColumncomponentId - component id for returned filter componentform - FilterForm object for the toolbar. components can use this form's model to access
properties of the state object (
PropertyModel(form.getModel(), "property") or retrieve the
IFilterStateLocator object by using FilterForm.getStateLocator()IFilteredColumn.getFilter(java.lang.String,
org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterForm)protected IModel<F> getFilterModel(FilterForm<?> form)
form - filter formCopyright © 2006–2015 Apache Software Foundation. All rights reserved.