public class CompoundGanttChartPrinter extends GanttChartPrinter
GanttChartPrinter
Constructor | Description |
---|---|
CompoundGanttChartPrinter() |
Creates a new CompoundGanttChartPrinter.
|
CompoundGanttChartPrinter(java.lang.String jobName) |
Creates a new CompoundGanttChartPrinter that uses the given job name as printer job name.
|
Modifier and Type | Method | Description |
---|---|---|
void |
addGanttChart(int index,
GanttChart ganttChart) |
Adds the given GanttChart at the specified index to the list of GanttCharts
that should be printed by this CompoundGanttChartPrinter.
|
void |
addGanttChart(GanttChart ganttChart) |
Adds the given GanttChart to the list of GanttCharts that should be
printed by this CompoundGanttChartPrinter.
|
void |
print() |
First opens the PrintDialog so a user can adjust his print settings and will
then print the chart based on the settings made by the user.
|
void |
removeGanttChart(GanttChart ganttChart) |
Removes the given GanttChart from the list of GanttCharts that should be
printed by this CompoundGanttChartPrinter.
|
public CompoundGanttChartPrinter()
public CompoundGanttChartPrinter(java.lang.String jobName)
jobName
- The name that will be used for the print job.public void print()
GanttChartPrinter
print
in class GanttChartPrinter
public void addGanttChart(GanttChart ganttChart)
ganttChart
- The GanttChart to add to the charts to be printed.public void addGanttChart(int index, GanttChart ganttChart)
index
- The index at which the given GanttChart should be added.ganttChart
- The GanttChart to add to the charts to be printed.public void removeGanttChart(GanttChart ganttChart)
ganttChart
- The GanttChart to remove from the charts to be printed.