com.dlsc.flexgantt.swing.print
Class TimeGranularityPrintManager

java.lang.Object
  extended by com.dlsc.flexgantt.swing.print.AbstractPrintManager
      extended by com.dlsc.flexgantt.swing.print.TimeGranularityPrintManager
All Implemented Interfaces:
IPrintManager

public class TimeGranularityPrintManager
extends AbstractPrintManager

A concrete implementation of a print manager that can be used when the currently used dateline model is an instance of TimeGranularityDatelineModel.

Since:
1.0
Author:
Dirk Lemmermann

Constructor Summary
TimeGranularityPrintManager()
           
 
Method Summary
 javax.swing.JComponent createTimelineControl(Timeline timeline)
          Creates the control to change the printed time span.
 
Methods inherited from class com.dlsc.flexgantt.swing.print.AbstractPrintManager
createPreviewDialog, getPageFormat, getPrintContext, getPrinterJob, getPrintGanttChart, print, setPageFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeGranularityPrintManager

public TimeGranularityPrintManager()
Method Detail

createTimelineControl

public javax.swing.JComponent createTimelineControl(Timeline timeline)
Description copied from interface: IPrintManager
Creates the control to change the printed time span. This control depends on the currently used dateline model.

Parameters:
timeline - the timeline that will be managed by the controls
Returns:
an arbitrary component for editing the time span of the timeline