ar.com.fdvs.dj.core.layout
Class Dj2JrCrosstabBuilder

java.lang.Object
  extended by ar.com.fdvs.dj.core.layout.Dj2JrCrosstabBuilder

public class Dj2JrCrosstabBuilder
extends java.lang.Object


Constructor Summary
Dj2JrCrosstabBuilder()
           
 
Method Summary
protected  void createCells()
          The way to create the cells is like this:

the result is a matrix of (cols+1)*(rows+1) cells.
Each cell has 2 properties that describes which row and column they belong (like coordinates).

null/null | col(n)/null | ...
 net.sf.jasperreports.crosstabs.design.JRDesignCrosstab createCrosstab(DJCrosstab djcrosstab, AbstractLayoutManager layoutManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dj2JrCrosstabBuilder

public Dj2JrCrosstabBuilder()
Method Detail

createCrosstab

public net.sf.jasperreports.crosstabs.design.JRDesignCrosstab createCrosstab(DJCrosstab djcrosstab,
                                                                             AbstractLayoutManager layoutManager)

createCells

protected void createCells()
The way to create the cells is like this:

the result is a matrix of (cols+1)*(rows+1) cells.
Each cell has 2 properties that describes which row and column they belong (like coordinates).

null/null | col(n)/null | ... | col(1)/null
--------------------------------------------------
null/row(n) | col(n)/row(n) | ... | col(1)/row(n)
--------------------------------------------------
null/... | col(n)/... | ... | col(1)/...
--------------------------------------------------
null/row(1) | col(n)/row(1) | ... | col(1)/row(1)


you get this matrix with this two vectors
cols: {null, col(n), ..., col(1)}
rows: {null, row(n), ..., row(1)}

where the col(n) is the outer most column, and row(n) is the outer most row in the crosstab

The cell with null/null is the inner most cell in the crosstab

Parameters:
djcross -


Copyright © 2006-2011 FDV Solutions. All Rights Reserved.