com.jidesoft.filter
Class TodayFilter<T>
java.lang.Object
com.jidesoft.filter.AbstractFilter<T>
com.jidesoft.filter.DateOrCalendarFilter<T>
com.jidesoft.filter.TodayFilter<T>
- All Implemented Interfaces:
- Filter<T>, ObjectGrouperSupport, Serializable, Cloneable
public class TodayFilter<T>
- extends DateOrCalendarFilter<T>
A Filter
returns false in DateOrCalendarFilter.isValueFiltered(Object)
only if the input value is the same date as
today's date.
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(Object obj)
|
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 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 |
TodayFilter
public TodayFilter()
stricterThan
public boolean stricterThan(Filter inputFilter)
- Check if this filter is stricter than the input filter while the two filters are with the same class.
- Specified by:
stricterThan
in interface Filter<T>
- Overrides:
stricterThan
in class DateOrCalendarFilter<T>
- Parameters:
inputFilter
- the input filter
- Returns:
- true if the class of the two filters are same or the input Filter is ThisWeekFilter or ThisMonthFilter or
ThisQuarterFilter or ThisYearFilter. Otherwise false.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object