|
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<T> com.jidesoft.filter.DateOrCalendarFilter<T> com.jidesoft.filter.YearFilter<T>
public class YearFilter<T>
A Filter
returns false in DateOrCalendarFilter.isValueFiltered(Object)
only if the input value is within in the
year as specified. It will return false if the Calendar or the Date in that year, regardless others.
Field Summary |
---|
Fields inherited from interface com.jidesoft.filter.Filter |
---|
ALL, CUSTOM, NULL, SEPARATOR |
Constructor Summary | |
---|---|
YearFilter()
Creates a YearFilter. |
|
YearFilter(int year)
Creates a YearFilter for a particular year. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int |
getYear()
Gets the year. |
void |
setYear(int year)
Sets the year. |
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.DateOrCalendarFilter |
---|
getExpectedDataTypes, isDateFiltered, isValueFiltered |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YearFilter()
public YearFilter(int year)
year
- the yearMethod Detail |
---|
public int getYear()
public void setYear(int year)
year
- the yearpublic boolean stricterThan(Filter inputFilter)
stricterThan
in interface Filter<T>
stricterThan
in class DateOrCalendarFilter<T>
inputFilter
- the input filter
public boolean equals(Object obj)
equals
in class Object
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |