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 JREvaluationTimeEVALUATION_TIME_COLUMNEvaluation time corresponding toEvaluationTimeEnum.COLUMN.static JREvaluationTimeEVALUATION_TIME_MASTEREvaluation time corresponding toEvaluationTimeEnum.MASTER.static JREvaluationTimeEVALUATION_TIME_NOWEvaluation time corresponding toEvaluationTimeEnum.NOW.static JREvaluationTimeEVALUATION_TIME_PAGEEvaluation time corresponding toEvaluationTimeEnum.PAGE.static JREvaluationTimeEVALUATION_TIME_REPORTEvaluation time corresponding toEvaluationTimeEnum.REPORT.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static JREvaluationTimegetBandEvaluationTime(int bandId)static JREvaluationTimegetBandEvaluationTime(JRFillBand band)Returns the evaluation time corresponding toEvaluationTimeEnum.BANDfor a specific band.intgetBandId()static JREvaluationTimegetEvaluationTime(EvaluationTimeEnum type, JRGroup group, JRFillBand band)Returns the evaluation time corresponding to an evaluation time type.static JREvaluationTimegetGroupEvaluationTime(String groupName)Returns the evaluation time corresponding toEvaluationTimeEnum.GROUPfor a specific group.StringgetGroupName()EvaluationTimeEnumgetType()inthashCode()StringtoString()
-
-
-
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.GROUPfor 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.BANDfor 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.GROUPevaluation time typeband- the band used forEvaluationTimeEnum.BANDevaluation time type- Returns:
- the evaluation time corresponding to an evaluation time type
-
getType
public EvaluationTimeEnum getType()
-
getGroupName
public String getGroupName()
-
getBandId
public int getBandId()
-
-