com.jidesoft.filter
Class NoneFilter<T>
java.lang.Object
com.jidesoft.filter.AbstractFilter<T>
com.jidesoft.filter.NoneFilter<T>
- All Implemented Interfaces:
- Filter<T>, ObjectGrouperSupport, Serializable, Cloneable
public class NoneFilter<T>
- extends AbstractFilter<T>
A Filter
that always returns true in isValueFiltered(Object)
no matter what the input value
is.
- See Also:
- Serialized Form
Constructor Summary |
NoneFilter()
Creates a NoneFilter. |
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 |
NoneFilter
public NoneFilter()
- Creates a NoneFilter.
isValueFiltered
public boolean isValueFiltered(T value)
- Checks if the value is allowed.
- Parameters:
value
- the value to check.
- Returns:
- always true
stricterThan
public boolean stricterThan(Filter inputFilter)
- Check if this filter is stricter than the input filter. This method always returns true as NoneFilter is 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 true
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object