Package net.sf.jasperreports.engine.fill
Class JREvaluationTime
java.lang.Object
net.sf.jasperreports.engine.fill.JREvaluationTime
- All Implemented Interfaces:
Serializable
An evaluation time during the report fill process.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JREvaluationTime
Evaluation time corresponding toEvaluationTimeEnum.COLUMN
.static final JREvaluationTime
Evaluation time corresponding toEvaluationTimeEnum.MASTER
.static final JREvaluationTime
Evaluation time corresponding toEvaluationTimeEnum.NOW
.static final JREvaluationTime
Evaluation time corresponding toEvaluationTimeEnum.PAGE
.static final JREvaluationTime
Evaluation time corresponding toEvaluationTimeEnum.REPORT
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
static JREvaluationTime
getBandEvaluationTime
(int bandId) static JREvaluationTime
Returns the evaluation time corresponding toEvaluationTimeEnum.BAND
for a specific band.int
static JREvaluationTime
getEvaluationTime
(EvaluationTimeEnum type, JRGroup group, JRFillBand band) Returns the evaluation time corresponding to an evaluation time type.static JREvaluationTime
getGroupEvaluationTime
(String groupName) Returns the evaluation time corresponding toEvaluationTimeEnum.GROUP
for a specific group.getType()
int
hashCode()
toString()
-
Field Details
-
EVALUATION_TIME_REPORT
Evaluation time corresponding toEvaluationTimeEnum.REPORT
. -
EVALUATION_TIME_PAGE
Evaluation time corresponding toEvaluationTimeEnum.PAGE
. -
EVALUATION_TIME_COLUMN
Evaluation time corresponding toEvaluationTimeEnum.COLUMN
. -
EVALUATION_TIME_NOW
Evaluation time corresponding toEvaluationTimeEnum.NOW
. -
EVALUATION_TIME_MASTER
Evaluation time corresponding toEvaluationTimeEnum.MASTER
.
-
-
Method Details
-
getGroupEvaluationTime
Returns the evaluation time corresponding toEvaluationTimeEnum.GROUP
for a specific group.- Parameters:
groupName
- the group name- Returns:
- corresponding group evaluation time
-
getBandEvaluationTime
Returns the evaluation time corresponding toEvaluationTimeEnum.BAND
for a specific band.- Parameters:
band
- the band- Returns:
- corresponding band evaluation time
-
getBandEvaluationTime
-
getEvaluationTime
public static JREvaluationTime getEvaluationTime(EvaluationTimeEnum type, JRGroup group, JRFillBand band) Returns the evaluation time corresponding to an evaluation time type.- Parameters:
type
- the evaluation time typegroup
- the group used forEvaluationTimeEnum.GROUP
evaluation time typeband
- the band used forEvaluationTimeEnum.BAND
evaluation time type- Returns:
- the evaluation time corresponding to an evaluation time type
-
equals
-
hashCode
public int hashCode() -
toString
-
getType
-
getGroupName
-
getBandId
public int getBandId()
-