Skip navigation links


com.essbase.eas.utils.print
Class CPageHeader

java.lang.Object
  extended by com.essbase.eas.utils.print.CPageHeader

All Implemented Interfaces:
PageHeader

public class CPageHeader
extends java.lang.Object
implements PageHeader

implements the PageHeader interface

Since:
6.5.1
Version:
7.1.0
Author:
Sree Menon

Constructor Summary
CPageHeader(java.lang.String title)
           
CPageHeader(java.lang.String title, java.awt.Font font)
           

 

Method Summary
 int getHeight()
           
 int getHeight(java.awt.Graphics graphics, java.awt.print.PageFormat pageFormat, int pagenum)
           
 int printHeader(java.awt.Graphics graphics, java.awt.print.PageFormat pageFormat, int pagenum)
          page header interface.

 

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

 

Constructor Detail

CPageHeader

public CPageHeader(java.lang.String title)

CPageHeader

public CPageHeader(java.lang.String title,
                   java.awt.Font font)

Method Detail

printHeader

public int printHeader(java.awt.Graphics graphics,
                       java.awt.print.PageFormat pageFormat,
                       int pagenum)
Description copied from interface: PageHeader
page header interface.
Specified by:
printHeader in interface PageHeader
Parameters:
graphics - the graphics used to draw the header
pageFormat - the current page format
pagenum - the page number
Returns:
the y position of the last line

getHeight

public int getHeight(java.awt.Graphics graphics,
                     java.awt.print.PageFormat pageFormat,
                     int pagenum)
Specified by:
getHeight in interface PageHeader

getHeight

public int getHeight()
Specified by:
getHeight in interface PageHeader

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.