Class FieldFilter
java.lang.Object
net.sf.jasperreports.components.util.FieldFilter
- All Implemented Interfaces:
DatasetFilter
A dataset filter that matches String values based on substrings.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetField()protected Localeprotected TimeZonevoidinit(DatasetFillContext context) Initializes the filter.booleanmatches(EvaluationType evaluation) Determines whether the current row matches the filter criteria.voidsetFilterPattern(String filterPattern) voidsetFilterTypeOperator(String filterTypeOperator) voidsetFilterValueEnd(String filterValueEnd) voidsetFilterValueStart(String filterValueStart) voidsetIsField(Boolean isField) voidsetIsValid(Boolean isValid) voidsetLocaleCode(String localeCode) voidsetTimeZoneId(String timeZoneId)
-
Constructor Details
-
Method Details
-
init
Description copied from interface:DatasetFilterInitializes the filter.- Specified by:
initin interfaceDatasetFilter- Parameters:
context- dataset context information
-
getFilterLocale
-
getFilterTimeZone
-
matches
Description copied from interface:DatasetFilterDetermines whether the current row matches the filter criteria. Matching rows are included in the report, while non-matching rows are skipped.- Specified by:
matchesin interfaceDatasetFilter- Parameters:
evaluation- the evaluation type. Currently onlyEvaluationType.ESTIMATEDis used.- Returns:
trueif the row is to be included in the report.
-
getField
-
getFilterValueStart
-
setFilterValueStart
-
getFilterValueEnd
-
setFilterValueEnd
-
getFilterType
-
getFilterTypeOperator
-
setFilterTypeOperator
-
getFilterTypeEnum
-
getIsValid
-
setIsValid
-
getIsField
-
setIsField
-
getFilterPattern
-
setFilterPattern
-
getLocaleCode
-
setLocaleCode
-
getTimeZoneId
-
setTimeZoneId
-