|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.util.datatable.FilterPanel
public class FilterPanel
Class to manage filter panel
Field Summary | |
---|---|
static String |
PARAM_FILTER_PANEL_PREFIX
|
static String |
PARAM_RESET_FILTERS
|
static String |
PARAM_UPDATE_FILTERS
|
Constructor Summary | |
---|---|
protected |
FilterPanel()
Instantiates a new filter panel. |
|
FilterPanel(String strFormUrl)
Creates a new FilterPanel. |
Method Summary | |
---|---|
void |
addDropDownListFilter(String strParameterName,
String strFilterLabel,
ReferenceList refList)
Add a drop down list filter. |
void |
addFilter(DataTableFilterType filterType,
String strParameterName,
String strFilterLabel)
Add a filter to this filter panel |
String |
getFormUrl()
Get the url of the action of the form |
List<DataTableFilter> |
getListFilter()
Get the list of filters of the FilterPanel |
void |
setFormUrl(String strFormUrl)
Set the url of the action of the form |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PARAM_FILTER_PANEL_PREFIX
public static final String PARAM_UPDATE_FILTERS
public static final String PARAM_RESET_FILTERS
Constructor Detail |
---|
protected FilterPanel()
public FilterPanel(String strFormUrl)
strFormUrl
- The url to validate the form of filtersMethod Detail |
---|
public void addFilter(DataTableFilterType filterType, String strParameterName, String strFilterLabel)
filterType
- data type of the filter. For drop down list, use addDropDownListFilter
insteadstrParameterName
- Name of the parameter of the object to filter.strFilterLabel
- Label describing the filterpublic void addDropDownListFilter(String strParameterName, String strFilterLabel, ReferenceList refList)
strParameterName
- Name of the parameter of the object to filter.strFilterLabel
- Label describing the filterrefList
- Reference list containing data of the drop down listpublic String getFormUrl()
public void setFormUrl(String strFormUrl)
strFormUrl
- The url of the action of the formpublic List<DataTableFilter> getListFilter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |