|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.filter.AbstractFilter com.jidesoft.filter.MultipleFilters
public abstract class MultipleFilters
MultipleFilter is an abstract class that has a list of filters. The actual concrete class can extend it to provide the filter logic such as AND or OR on the list of filters.
Field Summary |
---|
Fields inherited from interface com.jidesoft.filter.Filter |
---|
ALL, CUSTOM, NULL, SEPARATOR |
Constructor Summary | |
---|---|
MultipleFilters()
|
|
MultipleFilters(Filter... filters)
|
Method Summary | |
---|---|
void |
addFilter(Filter filter)
Adds a filter. |
void |
clearFilters()
Removes all the existing filters. |
Object |
clone()
Creates and returns a copy of the filter. |
List<Filter> |
getFilters()
Gets the list of filters. |
boolean |
removeFilter(Filter filter)
Removes an existing filter. |
void |
setFilters(List<Filter> filters)
Sets the filters. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jidesoft.filter.Filter |
---|
isValueFiltered |
Constructor Detail |
---|
public MultipleFilters()
public MultipleFilters(Filter... filters)
Method Detail |
---|
public void addFilter(Filter filter)
filter
- a new filter.public boolean removeFilter(Filter filter)
filter
- a filter to be removed
public List<Filter> getFilters()
public void setFilters(List<Filter> filters)
filters
- the new list of filters.public void clearFilters()
public Object clone() throws CloneNotSupportedException
AbstractFilter
clone
in interface Filter
clone
in class AbstractFilter
CloneNotSupportedException
- if the cloning of the filter is not supported.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |