Module org.apache.wicket.extensions
Interface IFilteredColumn<T,S>
- Type Parameters:
T
-S
- the type of the sorting parameter
- All Superinterfaces:
ICellPopulator<T>
,IClusterable
,IColumn<T,
,S> IDetachable
,Serializable
- All Known Implementing Classes:
ChoiceFilteredPropertyColumn
,FilteredAbstractColumn
,FilteredPropertyColumn
,TextFilteredPropertyColumn
Represents a data table column that can be filtered. The filter is represented by a component
returned from the getFilter() method.
- Author:
- Igor Vaynberg (ivaynberg)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetFilter
(String componentId, FilterForm<?> form) Returns the component used by user to filter the column.Methods inherited from interface org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator
populateItem
Methods inherited from interface org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn
getHeader, getHeaderColspan, getHeaderRowspan, getSortProperty, isSortable
Methods inherited from interface org.apache.wicket.model.IDetachable
detach
-
Method Details
-
getFilter
Returns the component used by user to filter the column. If null is returned, no filter will be added.- Parameters:
componentId
- 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 theIFilterStateLocator
object by usingFilterForm.getStateLocator()
- Returns:
- component that will be used to represent a filter for this column, or null if no such component is desired
-