public class IlvResourceDataChartPrintableDocument extends IlvChartPrintableDocument
IlvResourceDataChartPrintableDocument allows you to
print an IlvResourceDataChart in multiple pages.FIT_TO_DIMENSION, HIGH_RESOLUTION, IDENTITY_RESOLUTION, MEDIUM_RESOLUTION, SCALE_TO_DIMENSION, XMAX_YMAX, XMAX_YMID, XMAX_YMIN, XMID_YMAX, XMID_YMID, XMID_YMIN, XMIN_YMAX, XMIN_YMID, XMIN_YMINORDERED_BY_COLUMNS, ORDERED_BY_ROWSNO_SUCH_PAGE, PAGE_EXISTSUNKNOWN_NUMBER_OF_PAGES| Constructor and Description |
|---|
IlvResourceDataChartPrintableDocument(String name,
IlvResourceDataChart chart,
boolean repeatYScales,
int pages,
boolean printChart,
Date start,
IlvDuration duration,
int orientation,
Paper paperFormat)
Creates a
IlvResourceDataChartPrintableDocument for the
specified IlvResourceDataChart using the specified
parameters. |
IlvResourceDataChartPrintableDocument(String name,
IlvResourceDataChart chart,
boolean repeatYScales,
int pages,
boolean printChart,
Date start,
IlvDuration duration,
PageFormat pageFormat)
Creates a
IlvResourceDataChartPrintableDocument for the
specified IlvResourceDataChart using the specified
parameters. |
IlvResourceDataChartPrintableDocument(String name,
IlvResourceDataChart chart,
int orientation,
Paper paperFormat)
Creates a
IlvResourceDataChartPrintableDocument for the
specified IlvResourceDataChart using the specified
parameters. |
IlvResourceDataChartPrintableDocument(String name,
IlvResourceDataChart chart,
PageFormat pageFormat)
Creates a
IlvResourceDataChartPrintableDocument for the
specified IlvResourceDataChart using the specified
parameters. |
| Modifier and Type | Method and Description |
|---|---|
IlvDuration |
getDuration()
Returns the duration of the printable Resource Data Chart.
|
IlvResourceDataChart |
getResourceDataChart()
Returns the Resource Data Chart to print.
|
Date |
getStart()
Returns the start date of the first page.
|
void |
setDuration(IlvDuration duration)
Sets the duration of the printable Resource Data Chart.
|
void |
setStart(Date start)
Sets the start date for the first page.
|
computeDataWindow, createPages, createPrintableChart, getBackground, getChart, getDataWindow, getFlow, getMultiPageCount, getRepeatTitle, getRepeatYScales, getResizeMode, getResolutionScaleFactor, getScalingAlignment, isPrintingChart, setBackground, setChart, setDataWindow, setMultiPageCount, setPrintingChart, setRepeatTitle, setRepeatYScales, setResizeMode, setResolutionScaleFactor, setScalingAlignmentaddPage, addPropertyChangeListener, addPropertyChangeListener, enablePrintStyle, firePropertyChange, getAuthor, getColumnCount, getDate, getFooter, getHeader, getImageableBounds, getName, getNumberOfPages, getOrientation, getPage, getPageFormat, getPageFormat, getPageIndex, getPageOrder, getPaperFormat, getPrintable, getSides, getTemplatePage, invalidateFlowLayout, invalidatePages, isFlowLayoutValid, maybeInvalidatePages, prepareDocument, print, removeAll, removePage, removePropertyChangeListener, removePropertyChangeListener, setAuthor, setColumnCount, setDate, setFooter, setHeader, setName, setOrientation, setPageFormat, setPageOrder, setPages, setPaperFormat, setSides, setTemplatePagepublic IlvResourceDataChartPrintableDocument(String name, IlvResourceDataChart chart, PageFormat pageFormat)
IlvResourceDataChartPrintableDocument for the
specified IlvResourceDataChart using the specified
parameters.
The document creates one page used to print the specified
Resource Data Chart, between its visible time and for its visible
duration.name - The document name.chart - The Resource Data Chart to print.pageFormat - The default page format used for pages of the document.public IlvResourceDataChartPrintableDocument(String name, IlvResourceDataChart chart, boolean repeatYScales, int pages, boolean printChart, Date start, IlvDuration duration, PageFormat pageFormat)
IlvResourceDataChartPrintableDocument for the
specified IlvResourceDataChart using the specified
parameters.
The document creates pages used to print the specified Resource
Data Chart.name - The document name.chart - The Resource Data Chart to print.repeatYScales - Indicates whether the y-scales are printed repeatedly
on every page.pages - The number of pages.printChart - true to print the chart,
false to print the chart area.start - That start date of the first page.duration - The duration for the printed data window along the
x-scales.pageFormat - The default page format used for pages of the
document.public IlvResourceDataChartPrintableDocument(String name, IlvResourceDataChart chart, int orientation, Paper paperFormat)
IlvResourceDataChartPrintableDocument for the
specified IlvResourceDataChart using the specified
parameters.
The document creates one page used to print the specified
Resource Data Chart, between its visible time and for its visible
duration.name - The document name.chart - The Resource Data Chart to print.orientation - One of PageFormat.PORTRAIT,
PageFormat.LANDSCAPE,
PageFormat.REVERSE_LANDSCAPE.paperFormat - A paper format object, or null if the paper
format shall be provided by the
IlvPrintingController, depending on the default
printer or - if no printer is available - depending on
the current locale. Because a fixed page format is not
apppropriate for all printers and all locales, it is
recommended that this argument be null or
constructed from
IlvPrintingController.getDefaultPaperFormat().public IlvResourceDataChartPrintableDocument(String name, IlvResourceDataChart chart, boolean repeatYScales, int pages, boolean printChart, Date start, IlvDuration duration, int orientation, Paper paperFormat)
IlvResourceDataChartPrintableDocument for the
specified IlvResourceDataChart using the specified
parameters.
The document creates pages used to print the specified Resource
Data Chart.name - The document name.chart - The Resource Data Chart to print.repeatYScales - Indicates whether the y-scales are printed repeatedly
on every page.pages - The number of pages.printChart - true to print the chart,
false to print the chart area.start - That start date of the first page.duration - The duration for the printed data window along the
x-scales.orientation - One of PageFormat.PORTRAIT,
PageFormat.LANDSCAPE,
PageFormat.REVERSE_LANDSCAPE.paperFormat - A paper format object, or null if the paper
format shall be provided by the
IlvPrintingController, depending on the default
printer or - if no printer is available - depending on
the current locale. Because a fixed page format is not
apppropriate for all printers and all locales, it is
recommended that this argument be null or
constructed from
IlvPrintingController.getDefaultPaperFormat().public IlvResourceDataChart getResourceDataChart()
public Date getStart()
public void setStart(Date start)
start - The start date of the Resource Data Chart to be printed.public IlvDuration getDuration()
public void setDuration(IlvDuration duration)
duration - The duration that will end the data window to be printed.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.