Method Summary |
|
public void | addCell(JRDesignCrosstabCell cell) Adds a data cell to the crosstab. |
protected void | addColGroupVars(JRDesignCrosstabColumnGroup colGroup) |
public void | addColumnGroup(JRDesignCrosstabColumnGroup group) Adds a column group. |
public void | addMeasure(JRDesignCrosstabMeasure measure) Adds a measure to the crosstab. |
protected void | addMeasureVars(JRDesignCrosstabMeasure measure) |
public void | addParameter(JRCrosstabParameter parameter) Adds a parameter to the crosstab. |
public void | addRowGroup(JRDesignCrosstabRowGroup group) Adds a row group. |
protected void | addRowGroupVars(JRDesignCrosstabRowGroup rowGroup) |
protected void | addTotalVar(JRCrosstabMeasure measure, JRCrosstabRowGroup rowGroup, JRCrosstabColumnGroup colGroup) |
protected int | calculateColumnHeadersSizes() |
protected int | calculateRowHeadersSizes() |
protected void | calculateSizes() |
public void | collectExpressions(JRExpressionCollector collector) |
protected void | createCellMatrix() |
public JRCrosstabCell[][] | getCells() |
public List | getCellsList() Returns the data cells list. |
public int | getColumnBreakOffset() |
protected JRDesignCrosstabColumnGroup | getColumnGroup(int columnGroupIndex) |
public JRCrosstabColumnGroup[] | getColumnGroups() |
public JRChild | getCopy(JRAbstractObjectFactory factory) |
public JRCrosstabDataset | getDataset() |
public JRDesignCrosstabDataset | getDesignDataset() Returns the crosstab dataset object to be used for report designing. |
public JRElement | getElementByKey(String elementKey) |
public JRCellContents | getHeaderCell() |
public int | getId() The ID of the crosstab is only generated at compile time. |
public JRCrosstabMeasure[] | getMeasures() |
public byte | getMode() |
public JRCrosstabParameter[] | getParameters() |
public List | getParametersList() Returns the paremeters list. |
public Map | getParametersMap() Returns the parameters indexed by names. |
public JRExpression | getParametersMapExpression() |
protected JRDesignCrosstabRowGroup | getRowGroup(int rowGroupIndex) |
public JRCrosstabRowGroup[] | getRowGroups() |
public byte | getRunDirection() |
public static String | getTotalVariableName(JRCrosstabMeasure measure, JRCrosstabRowGroup rowGroup, JRCrosstabColumnGroup colGroup) |
public JRVariable[] | getVariables() Returns the list of variables created for this crosstab. |
public Map | getVariablesMap() Returns the variables of this crosstab indexed by name. |
public JRCellContents | getWhenNoDataCell() |
protected void | inheritCell(int i, int j) |
protected void | inheritCellSize(int i, int j) |
protected void | inheritCells() |
public boolean | isRepeatColumnHeaders() |
public boolean | isRepeatRowHeaders() |
protected void | measureClassChanged(JRDesignCrosstabMeasure measure, String valueClassName) |
public void | preprocess() Performs all the calculations required for report compilation. |
public JRCrosstabCell | removeCell(String rowTotalGroup, String columnTotalGroup) Removes a data cell. |
public JRCrosstabCell | removeCell(JRCrosstabCell cell) Removes a data cell. |
protected void | removeColGroupVars(JRCrosstabColumnGroup colGroup) |
public JRCrosstabColumnGroup | removeColumnGroup(String groupName) Removes a column group. |
public JRCrosstabColumnGroup | removeColumnGroup(JRCrosstabColumnGroup group) Removes a column group. |
public JRCrosstabMeasure | removeMeasure(String measureName) Removes a measure. |
public JRCrosstabMeasure | removeMeasure(JRCrosstabMeasure measure) Removes a measure. |
protected void | removeMeasureVars(JRDesignCrosstabMeasure measure) |
public JRCrosstabParameter | removeParameter(String parameterName) Removes a parameter. |
public JRCrosstabParameter | removeParameter(JRCrosstabParameter parameter) Removes a parameter. |
public JRCrosstabRowGroup | removeRowGroup(String groupName) Removes a row group. |
public JRCrosstabRowGroup | removeRowGroup(JRCrosstabRowGroup group) Removes a row group. |
protected void | removeRowGroupVars(JRCrosstabRowGroup rowGroup) |
protected void | removeTotalVar(JRCrosstabMeasure measure, JRCrosstabRowGroup rowGroup, JRCrosstabColumnGroup colGroup) |
public void | setColumnBreakOffset(int columnBreakOffset) Sets the column break offset. |
public void | setDataset(JRDesignCrosstabDataset dataset) Sets the crosstab input dataset. |
protected void | setGroupVariablesClass(List groups) |
public void | setHeaderCell(JRDesignCellContents headerCell) Sets the crosstab header cell (this cell will be rendered at the upper-left corder of the crosstab). |
public void | setParametersMapExpression(JRExpression expression) Sets the parameters map expression. |
public void | setRepeatColumnHeaders(boolean repeatColumnHeaders) Sets the repeat column headers flag. |
public void | setRepeatRowHeaders(boolean repeatRowHeaders) Sets the repeat row headers flag. |
public void | setRunDirection(byte runDirection) |
protected void | setTotalVarClass(JRCrosstabMeasure measure, JRCrosstabRowGroup rowGroup, JRCrosstabColumnGroup colGroup, String valueClassName) |
public void | setWhenNoDataCell(JRDesignCellContents whenNoDataCell) Sets the "No data" cell. |
protected void | setWhenNoDataCellSize() |
public void | writeXml(JRXmlWriter writer) |