Skip navigation links


com.essbase.eas.utils.print
Class Page

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

All Implemented Interfaces:
java.awt.print.Printable, java.lang.Cloneable

public class Page
extends java.lang.Object
implements java.awt.print.Printable, java.lang.Cloneable

Implements the Printable interface.
Represents a page in the book to be printed.

Since:
6.5.1
Version:
7.1.0
Author:
Sree Menon

Field Summary

 

Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS

 

Method Summary
 void addObject(java.lang.Object obj)
           
 java.lang.Object clone()
           
 void dispose()
           
 int getCurrentHeight()
           
 PageHeader getHeader()
           
 int getHeaderHeight()
           
 int getMaxWidth()
           
 java.awt.print.PageFormat getPageFormat()
           
 int getRemainingHeight()
           
 boolean isFull()
           
 boolean isFull(int objectHeight)
           
 boolean isFull(java.awt.print.PageFormat pageFormat)
           
 boolean moveToNextLine()
           
 int print(java.awt.Graphics graphics, java.awt.print.PageFormat pageFormat, int pageIndex)
           
 void setTranslate(int x, int y)
           

 

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

 

Method Detail

getPageFormat

public java.awt.print.PageFormat getPageFormat()

addObject

public void addObject(java.lang.Object obj)

isFull

public boolean isFull(java.awt.print.PageFormat pageFormat)

isFull

public boolean isFull()

isFull

public boolean isFull(int objectHeight)

getHeaderHeight

public int getHeaderHeight()

getCurrentHeight

public int getCurrentHeight()

moveToNextLine

public boolean moveToNextLine()

getMaxWidth

public int getMaxWidth()

print

public int print(java.awt.Graphics graphics,
                 java.awt.print.PageFormat pageFormat,
                 int pageIndex)
Specified by:
print in interface java.awt.print.Printable

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

setTranslate

public void setTranslate(int x,
                         int y)

getHeader

public PageHeader getHeader()

getRemainingHeight

public int getRemainingHeight()

dispose

public void dispose()

Skip navigation links


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