public class CustomClassicLayoutManager
extends ar.com.fdvs.dj.core.layout.ClassicLayoutManager
| Modifier and Type | Field and Description |
|---|---|
protected Hashtable |
hColsPositions |
protected boolean |
isShowedRowNumber |
protected ReportEngine |
reportEngine |
| Constructor and Description |
|---|
CustomClassicLayoutManager(Hashtable hColsPositions,
ReportEngine reportEngine,
boolean isShowedRowNumber) |
| Modifier and Type | Method and Description |
|---|---|
protected net.sf.jasperreports.engine.design.JRDesignTextField |
createColumnNameTextField(ar.com.fdvs.dj.domain.entities.DJGroup columnsGroup,
ar.com.fdvs.dj.domain.entities.columns.AbstractColumn col,
boolean requireMultiGroupStyle) |
protected net.sf.jasperreports.engine.design.JRDesignElement |
createPaddingTextField(net.sf.jasperreports.engine.design.JRDesignTextField columnTextField) |
protected int |
findYOffsetForGroupLabel(net.sf.jasperreports.engine.design.JRDesignBand band) |
protected net.sf.jasperreports.engine.design.JRDesignTextField |
generateTextFieldFromColumn(ar.com.fdvs.dj.domain.entities.columns.AbstractColumn col,
int height,
ar.com.fdvs.dj.domain.entities.DJGroup group,
boolean requireMultiGroupStyle) |
ar.com.fdvs.dj.domain.entities.columns.AbstractColumn |
getColumnFromVirtualColumn(ar.com.fdvs.dj.domain.entities.columns.AbstractColumn virtualColumn) |
String |
getFittingTextForWidth(int availableWidth,
String text,
ar.com.fdvs.dj.domain.constants.Font font) |
net.sf.jasperreports.engine.design.JRDesignGroup |
getJRGroupFromDJGroup(ar.com.fdvs.dj.domain.entities.DJGroup group) |
protected Vector |
getOtherColumnsForMultigroup(String column) |
protected void |
layoutGroupFooterLabels(ar.com.fdvs.dj.domain.entities.DJGroup djgroup,
net.sf.jasperreports.engine.design.JRDesignGroup jgroup) |
protected void |
layoutGroups()
Layout columns in groups by reading the corresponding report options.
|
protected void |
layoutGroupVariables(ar.com.fdvs.dj.domain.entities.DJGroup group,
net.sf.jasperreports.engine.design.JRDesignGroup jgroup,
int labelOffset) |
protected void |
placeVariableInBand(List variables,
ar.com.fdvs.dj.domain.entities.DJGroup djGroup,
net.sf.jasperreports.engine.design.JRDesignGroup jgroup,
String type,
net.sf.jasperreports.engine.design.JRDesignBand band,
int yOffset) |
protected void |
transformDetailBand() |
applyBanners, applyFooterAutotexts, applyHeaderAutotexts, applyImageBannersToBand, changeHeaderBandHeightForVariables, createBlankRectableCrosstab, createColumnNameTextField, endLayout, findLeftMostColumn, findRightMostColumn, findTotalOffset, generateHeaderBand, generateTitleBand, getFooterVariableHeight, getHeaderVariablesHeight, getReferencesMap, getVisibleColumns, groupLabelsPresent, insertValueInHeader, layoutGroupCrosstabs, layoutGroupFooterLabels, layoutGroupSubreports, layOutSubReportInBand, sendPageBreakToBottom, setTextAndClassToExpression, startLayout, transformDetailBandTextFieldaddStyleToDesign, applyLayout, applyStyleToElement, createChart, createChart, createGroupForChartAndGetBand, createGroupForChartAndGetBand, createUniqueStyleName, ensureDJStyles, existsGroupWithColumnNames, generateHeaderBand, generateTextFieldFromColumn, getChartColumnsGroup, getDesign, getDJGroup, getParent, getReport, getReportStyles, interpeterOptions, layoutCharts, makeConditionalStyle, registerChartVariable, registerChartVariable, registerRemainingStyles, setBandFinalHeight, setBandsFinalHeight, setColumnsFinalWidth, setDesign, setReport, setReportStyles, setWhenNoDataBandprotected Hashtable hColsPositions
protected ReportEngine reportEngine
protected boolean isShowedRowNumber
public CustomClassicLayoutManager(Hashtable hColsPositions, ReportEngine reportEngine, boolean isShowedRowNumber)
protected void layoutGroupFooterLabels(ar.com.fdvs.dj.domain.entities.DJGroup djgroup,
net.sf.jasperreports.engine.design.JRDesignGroup jgroup)
public net.sf.jasperreports.engine.design.JRDesignGroup getJRGroupFromDJGroup(ar.com.fdvs.dj.domain.entities.DJGroup group)
getJRGroupFromDJGroup in class ar.com.fdvs.dj.core.layout.AbstractLayoutManagerprotected int findYOffsetForGroupLabel(net.sf.jasperreports.engine.design.JRDesignBand band)
protected void transformDetailBand()
transformDetailBand in class ar.com.fdvs.dj.core.layout.AbstractLayoutManagerprotected void layoutGroupVariables(ar.com.fdvs.dj.domain.entities.DJGroup group,
net.sf.jasperreports.engine.design.JRDesignGroup jgroup,
int labelOffset)
layoutGroupVariables in class ar.com.fdvs.dj.core.layout.ClassicLayoutManagerprotected net.sf.jasperreports.engine.design.JRDesignElement createPaddingTextField(net.sf.jasperreports.engine.design.JRDesignTextField columnTextField)
public String getFittingTextForWidth(int availableWidth, String text, ar.com.fdvs.dj.domain.constants.Font font)
protected void layoutGroups()
layoutGroups in class ar.com.fdvs.dj.core.layout.ClassicLayoutManagerar.com.fdvs.dj.core.layout.LayoutExceptionprotected net.sf.jasperreports.engine.design.JRDesignTextField createColumnNameTextField(ar.com.fdvs.dj.domain.entities.DJGroup columnsGroup,
ar.com.fdvs.dj.domain.entities.columns.AbstractColumn col,
boolean requireMultiGroupStyle)
protected void placeVariableInBand(List variables, ar.com.fdvs.dj.domain.entities.DJGroup djGroup, net.sf.jasperreports.engine.design.JRDesignGroup jgroup, String type, net.sf.jasperreports.engine.design.JRDesignBand band, int yOffset)
placeVariableInBand in class ar.com.fdvs.dj.core.layout.ClassicLayoutManagervariables - djGroup - jgroup - type - (header or footer)band - yOffset - protected net.sf.jasperreports.engine.design.JRDesignTextField generateTextFieldFromColumn(ar.com.fdvs.dj.domain.entities.columns.AbstractColumn col,
int height,
ar.com.fdvs.dj.domain.entities.DJGroup group,
boolean requireMultiGroupStyle)
public ar.com.fdvs.dj.domain.entities.columns.AbstractColumn getColumnFromVirtualColumn(ar.com.fdvs.dj.domain.entities.columns.AbstractColumn virtualColumn)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.