public class IlvPrintableChart extends IlvPrintableComponent
IlvChart
in an IlvPage
.
An IlvPrintableChart
is created by the
IlvChartPrintableDocument.createPages()
method for every pages
of the document and is added to its corresponding IlvPage
.IlvChartPrintableDocument
,
IlvPage.addPrintableObject(ilog.views.util.print.IlvPrintableObject)
NO_SUCH_PAGE, PAGE_EXISTS
Constructor and Description |
---|
IlvPrintableChart(IlvChart chart,
IlvUnit.Rectangle pageArea,
IlvChartPrintContext context)
Creates a new
IlvPrintableChart object. |
Modifier and Type | Method and Description |
---|---|
IlvChartPrintContext |
getPrintContext()
Returns the printing context associated with this printable.
|
int |
print(Graphics dst,
PageFormat pageFormat,
int pageIndex)
Prints the chart to the specified graphics.
|
getComponent, getPrintableArea, setComponent, setPrintableArea
getPage
public IlvPrintableChart(IlvChart chart, IlvUnit.Rectangle pageArea, IlvChartPrintContext context)
IlvPrintableChart
object.chart
- The chart to print.pageArea
- The area in page coordinates where the chart should be printed.context
- The printing context.public int print(Graphics dst, PageFormat pageFormat, int pageIndex) throws PrinterException
PrinterException
public final IlvChartPrintContext getPrintContext()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.