|
||||||||||
| 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 java.lang.String |
PARAM_FILTER_PANEL_PREFIX
|
static java.lang.String |
PARAM_RESET_FILTERS
|
static java.lang.String |
PARAM_UPDATE_FILTERS
|
| Constructor Summary | |
|---|---|
protected |
FilterPanel()
Instantiates a new filter panel. |
|
FilterPanel(java.lang.String strFormUrl)
Creates a new FilterPanel. |
| Method Summary | |
|---|---|
void |
addDropDownListFilter(java.lang.String strParameterName,
java.lang.String strFilterLabel,
ReferenceList refList)
Add a drop down list filter. |
void |
addFilter(DataTableFilterType filterType,
java.lang.String strParameterName,
java.lang.String strFilterLabel)
Add a filter to this filter panel |
java.lang.String |
getFormUrl()
Get the url of the action of the form |
java.util.List<DataTableFilter> |
getListFilter()
Get the list of filters of the FilterPanel |
void |
setFormUrl(java.lang.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 java.lang.String PARAM_FILTER_PANEL_PREFIX
public static final java.lang.String PARAM_UPDATE_FILTERS
public static final java.lang.String PARAM_RESET_FILTERS
| Constructor Detail |
|---|
protected FilterPanel()
public FilterPanel(java.lang.String strFormUrl)
strFormUrl - The url to validate the form of filters| Method Detail |
|---|
public void addFilter(DataTableFilterType filterType,
java.lang.String strParameterName,
java.lang.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 filter
public void addDropDownListFilter(java.lang.String strParameterName,
java.lang.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 java.lang.String getFormUrl()
public void setFormUrl(java.lang.String strFormUrl)
strFormUrl - The url of the action of the formpublic java.util.List<DataTableFilter> getListFilter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||