public class IlvDefaultResourceDataChartPrintContext extends IlvDefaultChartPrintContext
IlvPrintableResourceDataChart
to define
and handle the printing of a portion of a Resource Data Chart within a
page, defined by a start date and a duration.IlvPrintableResourceDataChart
Constructor and Description |
---|
IlvDefaultResourceDataChartPrintContext(Date start,
IlvDuration duration,
IlvUnit.Rectangle area,
IlvResourceDataChartPrintableDocument document,
IlvPage page)
Creates a new
IlvDefaultChartPrintContext object. |
Modifier and Type | Method and Description |
---|---|
IlvDuration |
getDuration()
Returns the duration of the Resource Data Chart used in this print context.
|
Date |
getStartDate()
Returns the start date of the Resource Data Chart used in this print
context.
|
getPrintedDataWindow, getRange
getBackground, getChart, getDocument, getDrawRect, getPage, getPrintArea, isTitleVisible, isVisible
public IlvDefaultResourceDataChartPrintContext(Date start, IlvDuration duration, IlvUnit.Rectangle area, IlvResourceDataChartPrintableDocument document, IlvPage page)
IlvDefaultChartPrintContext
object.start
- The date that will be used as the start date for printing
in the specified page.duration
- The duration that will delimit the area of the Resource
Data Chart to print in the specified page.area
- The page area (in paper coordinates).document
- The printed document.page
- The printed page.public IlvDuration getDuration()
public Date getStartDate()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.