JIDE 3.5.15

com.jidesoft.filter
Class AllFilter<T>

java.lang.Object
  extended by com.jidesoft.filter.AbstractFilter<T>
      extended by com.jidesoft.filter.AllFilter<T>
All Implemented Interfaces:
Filter<T>, ObjectGrouperSupport, Serializable, Cloneable

public class AllFilter<T>
extends AbstractFilter<T>

A Filter that always returns false in isValueFiltered(Object) no matter what the input value is.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.jidesoft.filter.Filter
ALL, CUSTOM, NULL, SEPARATOR
 
Constructor Summary
AllFilter()
          Creates a AllFilter.
 
Method Summary
 boolean equals(Object obj)
           
 boolean isValueFiltered(T value)
          Checks if the value is allowed.
 boolean stricterThan(Filter inputFilter)
          Check if this filter is stricter than the input filter.
 
Methods inherited from class com.jidesoft.filter.AbstractFilter
addFilterListener, clone, fireFilterChanged, fireFilterContentChanged, fireFilterDisabled, fireFilterEnabled, fireFilterNameChanged, getConditionString, getFilterFactory, getFilterFactoryName, getFilterListeners, getName, getObjectGrouper, getObjectGrouperName, getPreference, isEnabled, isFilterValid, removeFilterListener, setEnabled, setFilterFactory, setFilterFactoryName, setName, setObjectGrouper, setObjectGrouperName, setPreference
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllFilter

public AllFilter()
Creates a AllFilter.

Method Detail

isValueFiltered

public boolean isValueFiltered(T value)
Checks if the value is allowed.

Parameters:
value - the value to check.
Returns:
always false.

stricterThan

public boolean stricterThan(Filter inputFilter)
Check if this filter is stricter than the input filter. This method always returns false as AllFilter is not stricter than or the same strict as any other filters.

Specified by:
stricterThan in interface Filter<T>
Overrides:
stricterThan in class AbstractFilter<T>
Parameters:
inputFilter - the input filter
Returns:
always false.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

JIDE 3.5.15