Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.0.0)

E12063-01


oracle.adf.view.faces.bi.component.gantt
Class GanttPrinter

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.gantt.GanttPrinter


public class GanttPrinter
extends java.lang.Object

The GanttPrinter generates Formatting Objects (FO) XML for the Gantt Chart. The FO can then be used to generated PDF output.


Constructor Summary
GanttPrinter(UIGantt gantt)
          Constructs an instance of the GanttPrinter.

 

Method Summary
 void print(java.io.OutputStream out)
          Generates FO for the gantt object used for initializing this object.
 void setColumnVisible(int index, boolean isVisible)
          Specifies the column visibility.
 void setEndTime(java.util.Date end)
          Specifies the end time for this ganttPrint object.
 void setMargin(int top, int bottom, int left, int right)
          Specifies the top, bottom, left, and right margin in CSS point unit.
 void setPageSize(int height, int width)
          Specifies the page height and width in CSS point unit.
 void setStartTime(java.util.Date start)
          Specifies the start time for this ganttPrint object.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

GanttPrinter

public GanttPrinter(UIGantt gantt)
Constructs an instance of the GanttPrinter.
Parameters:
gantt - The UIGantt object.

Method Detail

print

public void print(java.io.OutputStream out)
Generates FO for the gantt object used for initializing this object.
Parameters:
out - Write FO to this output stream.

setMargin

public void setMargin(int top,
                      int bottom,
                      int left,
                      int right)
Specifies the top, bottom, left, and right margin in CSS point unit. There are 72 points to the inch.
Parameters:
top - The top margin.
bottom - The bottom margin.
left - The left margin.
right - The right margin.

setPageSize

public void setPageSize(int height,
                        int width)
Specifies the page height and width in CSS point unit. There are 72 points to the inch.
Parameters:
height - The page height
width - The page width

setStartTime

public void setStartTime(java.util.Date start)
Specifies the start time for this ganttPrint object.
Parameters:
start - The start time for this ganttPrint object.

setEndTime

public void setEndTime(java.util.Date end)
Specifies the end time for this ganttPrint object.
Parameters:
end - The end time for this ganttPrint object.

setColumnVisible

public void setColumnVisible(int index,
                             boolean isVisible)
Specifies the column visibility. The index is from 0..n.
Parameters:
index - The column index.
isVisible - The visibility flag.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.0.0)

E12063-01


Copyright © 1997, 2008, Oracle. All rights reserved.