net.sf.jasperreports.engine.fill
Class JRFillCrosstab.CrosstabFiller

java.lang.Object
  extended by net.sf.jasperreports.engine.fill.JRFillCrosstab.CrosstabFiller
Enclosing class:
JRFillCrosstab

protected class JRFillCrosstab.CrosstabFiller
extends java.lang.Object

Crosstab filler class.

Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Constructor Summary
protected JRFillCrosstab.CrosstabFiller()
           
 
Method Summary
protected  void addPrintRow(java.util.List printRow)
           
protected  boolean[] computeBreakableHeaders(HeaderCell[][] headersData, JRFillCrosstabGroup[] groups, int[] offsets, boolean width, boolean startHeaders)
           
protected  int[] computeOffsets(HeaderCell[][] headersData, JRFillCrosstabGroup[] groups, boolean width)
           
protected  boolean ended()
           
protected  void fill(int availableHeight)
           
protected  java.util.List fillColumnHeaders(int rowHeadersXOffset, int availableHeight)
           
protected  void fillNoDataCell(int availableHeight)
           
protected  int fillRows(int xOffset, int availableHeight)
           
protected  void fillVerticalCrosstab(int availableHeight)
           
protected  java.util.List getGroupHeaders(int available, int[] offsets, boolean[] breakable, int firstIndex, HeaderCell[][] headersData, JRFillCrosstabGroup[] groups)
           
protected  java.util.List getLastPrintRow()
           
protected  java.util.List getPrintElements()
           
protected  int getSpanIndex(int i, int j, HeaderCell[][] headersData)
           
protected  int getUsedHeight()
           
protected  void initCrosstab()
           
protected  java.lang.Object measureValue(MeasureDefinition.MeasureValue[] values, int measureIdx)
           
protected  void resetVariables()
           
protected  void setGroupVariables(JRFillCrosstabGroup[] groups, BucketDefinition.Bucket[] bucketValues)
           
protected  void setMeasureVariables(CrosstabCell cell)
           
protected  void setRowHeadersXOffsets()
           
protected  boolean willOverflow()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRFillCrosstab.CrosstabFiller

protected JRFillCrosstab.CrosstabFiller()
Method Detail

initCrosstab

protected void initCrosstab()

setRowHeadersXOffsets

protected void setRowHeadersXOffsets()

computeOffsets

protected int[] computeOffsets(HeaderCell[][] headersData,
                               JRFillCrosstabGroup[] groups,
                               boolean width)

computeBreakableHeaders

protected boolean[] computeBreakableHeaders(HeaderCell[][] headersData,
                                            JRFillCrosstabGroup[] groups,
                                            int[] offsets,
                                            boolean width,
                                            boolean startHeaders)

fill

protected void fill(int availableHeight)
             throws JRException
Throws:
JRException

willOverflow

protected boolean willOverflow()

getUsedHeight

protected int getUsedHeight()

ended

protected boolean ended()

fillVerticalCrosstab

protected void fillVerticalCrosstab(int availableHeight)
                             throws JRException
Throws:
JRException

getGroupHeaders

protected java.util.List getGroupHeaders(int available,
                                         int[] offsets,
                                         boolean[] breakable,
                                         int firstIndex,
                                         HeaderCell[][] headersData,
                                         JRFillCrosstabGroup[] groups)

getSpanIndex

protected int getSpanIndex(int i,
                           int j,
                           HeaderCell[][] headersData)

fillNoDataCell

protected void fillNoDataCell(int availableHeight)
                       throws JRException
Throws:
JRException

fillColumnHeaders

protected java.util.List fillColumnHeaders(int rowHeadersXOffset,
                                           int availableHeight)
                                    throws JRException
Throws:
JRException

fillRows

protected int fillRows(int xOffset,
                       int availableHeight)
                throws JRException
Throws:
JRException

addPrintRow

protected void addPrintRow(java.util.List printRow)

getLastPrintRow

protected java.util.List getLastPrintRow()

getPrintElements

protected java.util.List getPrintElements()

setGroupVariables

protected void setGroupVariables(JRFillCrosstabGroup[] groups,
                                 BucketDefinition.Bucket[] bucketValues)

setMeasureVariables

protected void setMeasureVariables(CrosstabCell cell)

measureValue

protected java.lang.Object measureValue(MeasureDefinition.MeasureValue[] values,
                                        int measureIdx)

resetVariables

protected void resetVariables()


© 2001-2006 JasperSoft Corporation www.jaspersoft.com