public class CrossTabCoefficients extends Object
Helper class for Cross Tab reports holding some important coefficients like : 1. the number of total columns 2. the numnber of spaces per row 3. the number of totals per row 4. the colspanPerRow for non-space and non-total values
Constructor and Description |
---|
CrossTabCoefficients(String[][] distinctValues,
boolean hasTotals)
empty constructor
|
Modifier and Type | Method and Description |
---|---|
void |
computeCoeficients()
initializing the coefficients ...
|
int |
getColspanForRow(int i) |
int[] |
getColspanPerRow() |
int[] |
getColspanWhenTotals()
Deprecated.
|
String[][] |
getDistinctHeaderValues() |
int[] |
getDistValuesCntInHeaderRow() |
int[] |
getSpacesCntInHeaderRow() |
int |
getTemplateColumnCount() |
int |
getTemplateRowCount() |
int[] |
getTotalsCntInHeaderRow() |
void |
setColspanPerRow(int[] d) |
void |
setDistValuesCntInHeaderRow(int[] n) |
void |
setSpacesCntInHeaderRow(int[] s) |
void |
setTemplateColumnCount(int templateColumnCount) |
void |
setTemplateRowCount(int templateRowCount) |
void |
setTotalsCntInHeaderRow(int[] t) |
public CrossTabCoefficients(String[][] distinctValues, boolean hasTotals)
public void computeCoeficients()
public int getColspanForRow(int i)
public int[] getColspanPerRow()
public void setColspanPerRow(int[] d)
@Deprecated public int[] getColspanWhenTotals()
public int[] getDistValuesCntInHeaderRow()
public void setDistValuesCntInHeaderRow(int[] n)
public int[] getTotalsCntInHeaderRow()
public void setTotalsCntInHeaderRow(int[] t)
public int getTemplateColumnCount()
public void setTemplateColumnCount(int templateColumnCount)
public int[] getSpacesCntInHeaderRow()
public void setSpacesCntInHeaderRow(int[] s)
public int getTemplateRowCount()
public void setTemplateRowCount(int templateRowCount)
templateRowCount
- the templateRowCount to setpublic String[][] getDistinctHeaderValues()
Copyright © 2006–2015. All rights reserved.