|
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.NotFilter
public class NotFilter
This filter will return the opposite value from isValueFiltered(Object)
method from the filter it contains.
In the other word, it is a NOT logic.
Field Summary |
---|
Fields inherited from interface com.jidesoft.filter.Filter |
---|
ALL, CUSTOM, NULL, SEPARATOR |
Constructor Summary | |
---|---|
NotFilter(Filter filter)
|
Method Summary | |
---|---|
Object |
clone()
Creates and returns a copy of the filter. |
boolean |
equals(Object obj)
|
Filter |
getFilter()
|
boolean |
isFilterValid()
Checks if the filter is valid or not. |
boolean |
isValueFiltered(Object value)
Checks to see if the value should be filtered. |
void |
setFilter(Filter filter)
|
boolean |
stricterThan(Filter inputFilter)
Check if this filter is stricter than the input filter while the two filters are with the same class. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotFilter(Filter filter)
Method Detail |
---|
public boolean isValueFiltered(Object value)
Filter
value
- the value to filter
public Filter getFilter()
public void setFilter(Filter filter)
public boolean stricterThan(Filter inputFilter)
stricterThan
in interface Filter
stricterThan
in class AbstractFilter
inputFilter
- the input filter
public Object clone() throws CloneNotSupportedException
AbstractFilter
clone
in interface Filter
clone
in class AbstractFilter
CloneNotSupportedException
- if the cloning of the filter is not supported.public boolean equals(Object obj)
equals
in class Object
public boolean isFilterValid()
AbstractFilter
AbstractFilter.setPreference(String, Class, com.jidesoft.converter.ConverterContext)
is valid or not.
isFilterValid
in class AbstractFilter
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |