|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FillContext
A fill context provides access to data and functionality related to a report component fill.
| Method Summary | |
|---|---|
java.lang.Object |
evaluate(JRExpression expression,
byte evaluation)
Evaluates an expression in the main report dataset. |
JRComponentElement |
getComponentElement()
Returns the component element that wraps the component. |
JRDefaultStyleProvider |
getDefaultStyleProvider()
Returns the default style provider for the generated report. |
JROrigin |
getElementOrigin()
Returns the origin of the current component element. |
int |
getElementPrintY()
Returns the position on the vertical axis where the component element starts printing. |
JRStyle |
getElementStyle()
Returns the current style of the component element. |
JRBaseFiller |
getFiller()
Returns the filler object. |
java.util.Locale |
getReportLocale()
Returns the locale used to fill the current report. |
java.util.ResourceBundle |
getReportResourceBundle()
Returns the resource bundle used for the current report. |
java.util.TimeZone |
getReportTimezone()
Returns the time zone used to fill the current report. |
void |
registerDelayedEvaluation(JRPrintElement printElement,
EvaluationTimeEnum evaluationTime,
java.lang.String evaluationGroup)
Registers a delayed evaluation for a print element. |
| Method Detail |
|---|
JRComponentElement getComponentElement()
java.lang.Object evaluate(JRExpression expression,
byte evaluation)
throws JRException
evaluate in interface JRFillExpressionEvaluatorexpression - the expression to evaluateevaluation - the evaluation type; usually directly passed from
FillComponent.evaluate(byte)
JRExceptionJRDefaultStyleProvider getDefaultStyleProvider()
JROrigin getElementOrigin()
int getElementPrintY()
JRStyle getElementStyle()
void registerDelayedEvaluation(JRPrintElement printElement,
EvaluationTimeEnum evaluationTime,
java.lang.String evaluationGroup)
printElement - the print elementevaluationTime - the delayed evaluation time; one of
JRExpression.EVALUATION_TIME_BAND
JRExpression.EVALUATION_TIME_COLUMN
JRExpression.EVALUATION_TIME_PAGE
JRExpression.EVALUATION_TIME_GROUP
JRExpression.EVALUATION_TIME_REPORT
evaluationGroup - the evaluation group name, if
evaluationTime is JRExpression.EVALUATION_TIME_GROUPFillComponent.evaluateDelayedElement(JRPrintElement, byte)java.util.ResourceBundle getReportResourceBundle()
JRReport.getResourceBundle(),
JRParameter.REPORT_RESOURCE_BUNDLEjava.util.Locale getReportLocale()
JRParameter.REPORT_LOCALEjava.util.TimeZone getReportTimezone()
JRParameter.REPORT_TIME_ZONEJRBaseFiller getFiller()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||