net.sf.jasperreports.engine.fill
Class JRHorizontalFiller

java.lang.Object
  extended by net.sf.jasperreports.engine.fill.JRBaseFiller
      extended by net.sf.jasperreports.engine.fill.JRHorizontalFiller
All Implemented Interfaces:
JRDefaultStyleProvider

public class JRHorizontalFiller
extends JRBaseFiller

Version:
$Id: JRHorizontalFiller.java 5180 2012-03-29 13:23:12Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.fill.JRBaseFiller
JRBaseFiller.DefaultStyleListener
 
Field Summary
 
Fields inherited from class net.sf.jasperreports.engine.fill.JRBaseFiller
background, bands, bottomMargin, boundElements, calculator, columnCount, columnDirection, columnFooter, columnFooterOffsetY, columnHeader, columnHeaderOffsetY, columnIndex, columnSpacing, columnWidth, datasetMap, dateFormatCache, defaultStyle, detailSection, fillContext, fillElements, fillerId, formatFactory, groups, isCreatingNewPage, isFirstColumnBand, isFirstPageBand, isFloatColumnFooter, isLastPageFooter, isNewColumn, isNewGroup, isNewPage, isSummaryNewPage, isSummaryWithPageHeaderAndFooter, isTitleNewPage, jasperPrint, jasperReport, keepTogetherSavePoint, lastPageColumnFooterOffsetY, lastPageFooter, leftMargin, mainDataset, missingFillBand, missingFillSection, name, noData, numberFormatCache, offsetX, offsetY, orientation, pageFooter, pageHeader, pageHeight, pageWidth, parentElement, parentFiller, printOrder, printPage, printPageStretchHeight, reportTemplates, rightMargin, scriptlet, styles, subfillers, summary, templates, title, topMargin, virtualizationContext, virtualizationListener, whenNoDataType, whenResourceMissingType
 
Constructor Summary
protected JRHorizontalFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport)
           
protected JRHorizontalFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport, DatasetExpressionEvaluator evaluator, JRFillSubreport parentElement)
           
protected JRHorizontalFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport, JREvaluator evaluator, JRFillSubreport parentElement)
           
protected JRHorizontalFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport, JRFillSubreport parentElement)
           
 
Method Summary
protected  void fillBand(JRPrintBand band)
           
protected  net.sf.jasperreports.engine.fill.SavePoint fillColumnBand(JRFillBand band, byte evaluation)
           
protected  void fillFixedBand(JRFillBand band, byte evaluation)
           
protected  void fillFixedBand(JRFillBand band, byte evaluation, boolean allowShrinking)
           
protected  void fillPageBand(JRFillBand band, byte evaluation)
          private void fillColumnBreak( byte evalPrevPage, byte evalNextPage ) throws JRException { if (columnIndex == columnCount - 1) { fillPageBreak(false, evalPrevPage, evalNextPage); } else { if (keepTogetherSavePoint !
protected  void fillReport()
           
protected  void setPageHeight(int pageHeight)
           
 
Methods inherited from class net.sf.jasperreports.engine.fill.JRBaseFiller
addBoundElement, addBoundElement, addBoundElement, addDefaultStyleListener, addFillListener, addPage, addPrintStyle, addVariableCalculationReq, advanceSavePoint, assignElementId, cancelFill, collectIncludedTemplates, collectStyles, collectStyles, collectStyles, collectTemplates, collectTemplateStyles, createReportTemplates, evaluateExpression, fill, fill, fill, getCurrentPage, getCurrentPageCount, getCurrentPageStretchHeight, getDateFormat, getDefaultStyle, getExpressionEvaluator, getField, getFieldsMap, getFillContext, getFillerId, getFormatFactory, getGroup, getJasperPrint, getJasperReport, getJasperReportsContext, getLocale, getMainDataset, getMasterColumnCount, getMasterFiller, getNumberFormat, getParametersMap, getParameterValue, getParameterValuesMap, getPropertiesUtil, getResourceBundle, getStyledTextParser, getTemplates, getTimeZone, getVariable, getVariablesMap, getVariableValue, getWhenResourceMissingType, hasBoundActions, hasMasterFormatFactory, hasMasterLocale, hasMasterTimeZone, initVirtualizationContext, isBandOverFlowAllowed, isInterrupted, isPageFinal, isSubreport, isSubreportRunToBottom, loadStyles, lockVirtualizationContext, lookupExternalDefaultStyle, moveBoundActions, moveKeepTogetherSavePointContent, newPage, next, registerSubfiller, resolveBandBoundElements, resolveBoundElements, resolveColumnBoundElements, resolveGroupBoundElements, resolvePageBoundElements, resolveReportBoundElements, setBandOverFlowAllowed, setConnectionParameterValue, setDatasourceParameterValue, setDefaultStyle, setInterrupted, setJasperReportsContext, setParameter, setParameter, setParameters, setSubreportRunner, setVirtualPageSize, subreportPageFilled, suspendSubreportRunner, unlockVirtualizationContext, unregisterSubfiller
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRHorizontalFiller

protected JRHorizontalFiller(JasperReportsContext jasperReportsContext,
                             JasperReport jasperReport)
                      throws JRException
Throws:
JRException

JRHorizontalFiller

protected JRHorizontalFiller(JasperReportsContext jasperReportsContext,
                             JasperReport jasperReport,
                             JRFillSubreport parentElement)
                      throws JRException
Throws:
JRException

JRHorizontalFiller

protected JRHorizontalFiller(JasperReportsContext jasperReportsContext,
                             JasperReport jasperReport,
                             DatasetExpressionEvaluator evaluator,
                             JRFillSubreport parentElement)
                      throws JRException
Throws:
JRException

JRHorizontalFiller

protected JRHorizontalFiller(JasperReportsContext jasperReportsContext,
                             JasperReport jasperReport,
                             JREvaluator evaluator,
                             JRFillSubreport parentElement)
                      throws JRException
Throws:
JRException
Method Detail

setPageHeight

protected void setPageHeight(int pageHeight)
Specified by:
setPageHeight in class JRBaseFiller

fillReport

protected void fillReport()
                   throws JRException
Specified by:
fillReport in class JRBaseFiller
Throws:
JRException

fillPageBand

protected void fillPageBand(JRFillBand band,
                            byte evaluation)
                     throws JRException
private void fillColumnBreak( byte evalPrevPage, byte evalNextPage ) throws JRException { if (columnIndex == columnCount - 1) { fillPageBreak(false, evalPrevPage, evalNextPage); } else { if (keepTogetherSavePoint != null) { keepTogetherSavePoint.saveEndOffsetY(offsetY); } fillColumnFooter(evalPrevPage); resolveGroupBoundImages(evalPrevPage, false); resolveColumnBoundImages(evalPrevPage); resolveGroupBoundTexts(evalPrevPage, false); resolveColumnBoundTexts(evalPrevPage); scriptlet.callBeforeColumnInit(); calculator.initializeVariables(JRVariable.RESET_TYPE_COLUMN); scriptlet.callAfterColumnInit(); columnIndex += 1; offsetX = leftMargin + columnIndex * (columnSpacing + columnWidth); offsetY = columnHeaderOffsetY; calculator.getColumnNumber().setValue( Integer.valueOf(((Number)calculator.getColumnNumber().getValue()).intValue() + 1) ); calculator.getColumnNumber().setOldValue( calculator.getColumnNumber().getValue() ); fillColumnHeader(evalNextPage); if (keepTogetherSavePoint != null) { moveKeepTogetherSavePointContent(); } } } /**

Throws:
JRException

fillColumnBand

protected net.sf.jasperreports.engine.fill.SavePoint fillColumnBand(JRFillBand band,
                                                                    byte evaluation)
                                                             throws JRException
Throws:
JRException

fillFixedBand

protected void fillFixedBand(JRFillBand band,
                             byte evaluation)
                      throws JRException
Throws:
JRException

fillFixedBand

protected void fillFixedBand(JRFillBand band,
                             byte evaluation,
                             boolean allowShrinking)
                      throws JRException
Throws:
JRException

fillBand

protected void fillBand(JRPrintBand band)


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com