Package net.sf.jasperreports.engine.fill
Class JREvaluationTime
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JREvaluationTime
-
- All Implemented Interfaces:
Serializable
public final class JREvaluationTime extends Object implements Serializable
An evaluation time during the report fill process.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static JREvaluationTime
EVALUATION_TIME_COLUMN
Evaluation time corresponding toEvaluationTimeEnum.COLUMN
.static JREvaluationTime
EVALUATION_TIME_MASTER
Evaluation time corresponding toEvaluationTimeEnum.MASTER
.static JREvaluationTime
EVALUATION_TIME_NOW
Evaluation time corresponding toEvaluationTimeEnum.NOW
.static JREvaluationTime
EVALUATION_TIME_PAGE
Evaluation time corresponding toEvaluationTimeEnum.PAGE
.static JREvaluationTime
EVALUATION_TIME_REPORT
Evaluation time corresponding toEvaluationTimeEnum.REPORT
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static JREvaluationTime
getBandEvaluationTime(int bandId)
static JREvaluationTime
getBandEvaluationTime(JRFillBand band)
Returns the evaluation time corresponding toEvaluationTimeEnum.BAND
for a specific band.int
getBandId()
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.String
getGroupName()
EvaluationTimeEnum
getType()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
EVALUATION_TIME_REPORT
public static final JREvaluationTime EVALUATION_TIME_REPORT
Evaluation time corresponding toEvaluationTimeEnum.REPORT
.
-
EVALUATION_TIME_PAGE
public static final JREvaluationTime EVALUATION_TIME_PAGE
Evaluation time corresponding toEvaluationTimeEnum.PAGE
.
-
EVALUATION_TIME_COLUMN
public static final JREvaluationTime EVALUATION_TIME_COLUMN
Evaluation time corresponding toEvaluationTimeEnum.COLUMN
.
-
EVALUATION_TIME_NOW
public static final JREvaluationTime EVALUATION_TIME_NOW
Evaluation time corresponding toEvaluationTimeEnum.NOW
.
-
EVALUATION_TIME_MASTER
public static final JREvaluationTime EVALUATION_TIME_MASTER
Evaluation time corresponding toEvaluationTimeEnum.MASTER
.
-
-
Method Detail
-
getGroupEvaluationTime
public static JREvaluationTime getGroupEvaluationTime(String groupName)
Returns the evaluation time corresponding toEvaluationTimeEnum.GROUP
for a specific group.- Parameters:
groupName
- the group name- Returns:
- corresponding group evaluation time
-
getBandEvaluationTime
public static JREvaluationTime getBandEvaluationTime(JRFillBand band)
Returns the evaluation time corresponding toEvaluationTimeEnum.BAND
for a specific band.- Parameters:
band
- the band- Returns:
- corresponding band evaluation time
-
getBandEvaluationTime
public static JREvaluationTime getBandEvaluationTime(int bandId)
-
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
-
getType
public EvaluationTimeEnum getType()
-
getGroupName
public String getGroupName()
-
getBandId
public int getBandId()
-
-