Deprecated API

Deprecated Classes
com.jrefinery.report.action.ExportToCSVAction
          Export modules are now defined by plugin-interfaces. 
com.jrefinery.report.action.ExportToExcelAction
          Export modules are now defined by plugin-interfaces. 
com.jrefinery.report.action.ExportToHtmlAction
          Export modules are now defined by plugin-interfaces. 
com.jrefinery.report.filter.ExpressionDataSource
          use DataRowDataSource as unified access class instead 
com.jrefinery.report.targets.FloatDimension
          this class moved into the JCommon library and is now located in the package com.jrefinery.ui. 
com.jrefinery.report.filter.FunctionDataSource
          use DataRowDataSource as unified access class instead 
com.jrefinery.report.function.ItemColumnQuotientFunction
          use ItemColumnQuotientExpression instead 
com.jrefinery.report.action.PageSetupAction
          Export modules are now defined by plugin-interfaces. 
com.jrefinery.report.filter.ReportDataSource
          use DataRowDataSource as unified access class instead 
com.jrefinery.report.function.ReportPropertyFunction
          ReportProperties are now retrieved from the report state. 
 

Deprecated Fields
com.jrefinery.report.Element.BOTTOM
          use ElementAlignment objects instead. 
com.jrefinery.report.Element.CENTER
          use ElementAlignment objects instead. 
com.jrefinery.report.targets.style.ElementDefaultStyleSheet.DEFAULT_FONT
          use the key DEFAULT_FONT_DEFINITION 
com.jrefinery.report.targets.base.bandlayout.StaticLayoutManager.DYNAMIC_HEIGHT
          moved to ElementStyleSheet.DYNAMIC_HEIGHT 
com.jrefinery.report.Element.LEFT
          use ElementAlignment objects instead. 
com.jrefinery.report.Element.MIDDLE
          use ElementAlignment objects instead. 
com.jrefinery.report.JFreeReportConstants.REPORT_PAGECOUNT_PROPERTY
          pagecount should be calculated by functions. The property is no longer filled by the ReportProcessor. 
com.jrefinery.report.Element.RIGHT
          use ElementAlignment objects instead. 
com.jrefinery.report.Element.TOP
          use ElementAlignment objects instead. 
 

Deprecated Methods
com.jrefinery.report.ItemFactory.createDateFunction(String, Rectangle2D, Paint, int, Font, String, DateFormat, String)
          use createDateElement instead, as all DataAccess has been unified 
com.jrefinery.report.ItemFactory.createDateFunction(String, Rectangle2D, Paint, int, Font, String, String, String)
          use createDateElement instead, as all DataAccess has been unified 
com.jrefinery.report.ItemFactory.createGeneralElement(String, Rectangle2D, Paint, int, Font, String, String)
          don't use the itemfactory for that kind of element or use the createStringElement method 
com.jrefinery.report.ItemFactory.createImageFieldElement(String, Rectangle2D, Paint, String)
          use createImageDataRowElement instead 
com.jrefinery.report.ItemFactory.createImageFunctionElement(String, Rectangle2D, Paint, String)
          use createImageDataRowElement instead 
com.jrefinery.report.ItemFactory.createImageURLField(String, Rectangle2D, Paint, String)
          use createImageURLElement instead 
com.jrefinery.report.ItemFactory.createImageURLFunction(String, Rectangle2D, Paint, String)
          use createImageURLElement instead 
com.jrefinery.report.ItemFactory.createMultilineTextElement(String, Rectangle2D, Paint, int, Font, String, String)
          use createStringElement instead 
com.jrefinery.report.ItemFactory.createNumberFunction(String, Rectangle2D, Paint, int, Font, String, NumberFormat, String)
          use createNumberElement instead 
com.jrefinery.report.ItemFactory.createNumberFunction(String, Rectangle2D, Paint, int, Font, String, String, String)
          use createNumberElement instead 
com.jrefinery.report.ItemFactory.createShapeElement(String, Paint, Stroke, Shape, boolean, boolean)
          this methods has to extract the bounds from the shape and correct the shape by using an AffineTransform. Use one of the createShape methods, that allow you to supply separate bounds and shapes. 
com.jrefinery.report.ItemFactory.createStringFunction(String, Rectangle2D, Paint, int, Font, String, String)
          use createStringElement instead 
com.jrefinery.report.TextElement.getAlignment()
          the text alignment should be defined using the style sheet interfaces. 
com.jrefinery.report.TextElement.getFont()
          the FontDefinition object should be used to define the font and font-related properties. 
com.jrefinery.report.targets.style.ElementStyleSheet.getFontStyleProperty()
          use getFontDefinition() 
com.jrefinery.report.TextElement.getFormattedText()
          this method is replaced by Element.getValue(), filters are used for any formatting that is required. 
com.jrefinery.report.Band.getHeight()
          do not manipulate the element properties that way, use a stylesheet and an suitable layoutmanager using the correct stylesheet properties ... 
com.jrefinery.report.Element.getPaint()
          don't store and access the paint directly, use the stylesheet. 
com.jrefinery.report.TextElement.getVerticalAlignment()
          the text alignment should be defined using the style sheet interfaces. 
com.jrefinery.report.GroupHeader.hasPageBreakBeforePrint()
          use the ElementStyleSheet to access this property as every band is able to request such a pageBreak 
com.jrefinery.report.TextElement.isStrikethrough()
          this information is contained in the FontDefinition object. 
com.jrefinery.report.TextElement.isUnderlined()
          this information is contained in the FontDefinition object. 
com.jrefinery.report.event.ReportListener.pageFinished(ReportEvent)
          Implement the PageEventListener interface to receive page events. 
com.jrefinery.report.event.ReportListener.pageStarted(ReportEvent)
          Implement the PageEventListener interface to receive page events. 
com.jrefinery.report.TextElement.setAlignment(int)
          the text alignment should be defined using the style sheet interfaces. 
com.jrefinery.report.TextElement.setFont(Font)
          the FontDefinition object should be used to define the font and font-related properties. 
com.jrefinery.report.targets.style.ElementStyleSheet.setFontStyleProperty(Font)
          use setFontDefinition() 
com.jrefinery.report.Band.setHeight(float)
          do not manipulate the element properties that way, use a stylesheet 
com.jrefinery.report.GroupHeader.setPageBreakBeforePrint(boolean)
          use the ElementStyleSheet to access this property as every band is able to request such a pageBreak 
com.jrefinery.report.Element.setPaint(Paint)
          use a stylesheet to define the paint. The paint object must be an instance of color. 
com.jrefinery.report.TextElement.setStrikethrough(boolean)
          this information is contained in the FontDefinition object. 
com.jrefinery.report.TextElement.setUnderlined(boolean)
          this information is contained in the FontDefinition object. 
com.jrefinery.report.TextElement.setVerticalAlignment(int)
          the text alignment should be defined using the style sheet interfaces.