ar.com.fdvs.dj.core.layout
Class Dj2JrCrosstabBuilder
java.lang.Object
ar.com.fdvs.dj.core.layout.Dj2JrCrosstabBuilder
public class Dj2JrCrosstabBuilder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dj2JrCrosstabBuilder
public Dj2JrCrosstabBuilder()
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 -
getExpressionForConditionalStyle
protected net.sf.jasperreports.engine.design.JRDesignExpression getExpressionForConditionalStyle(ConditionalStyle condition,
String columExpression)
Copyright © 2006-2009 FDV Solutions. All Rights Reserved.