Skip navigation links


com.essbase.eas.ui.print
Class CPrintPreview

java.lang.Object
  extended by com.essbase.eas.utils.print.CDefaultPrint
      extended by com.essbase.eas.ui.print.CPrint
          extended by com.essbase.eas.ui.print.CPrintPreview

All Implemented Interfaces:
CPrintable, CBook

public class CPrintPreview
extends CPrint

Title: Description: Copyright: Copyright (c) 2001 Company: Hyperion Solutions Corporation

Version:
1.0
Author:
Sree Menon

Nested Class Summary

 

Nested classes/interfaces inherited from class com.essbase.eas.utils.print.CDefaultPrint
CDefaultPrint.ComponentObject, CDefaultPrint.CPrintBook, CDefaultPrint.LineBreak, CDefaultPrint.PageBreak, CDefaultPrint.PrintTree

 

Field Summary

 

Fields inherited from class com.essbase.eas.utils.print.CDefaultPrint
EOL, FIT_HEIGHT_TO_PAGE, FIT_TO_PAGE, FIT_WIDTH_TO_PAGE, header, headerFont, job, LIMIT_COMPONENT_HEIGHT, LIMIT_COMPONENT_SIZE, LIMIT_COMPONENT_WIDTH, lineBreak, lines, pageBreak, pageFont, pageFormat, previewComp, title, USE_COMPONENT_SIZE

 

Fields inherited from interface com.essbase.eas.ui.print.CPrintable
FIT_HEIGHT_TO_PAGE, FIT_TO_PAGE, FIT_WIDTH_TO_PAGE, LIMIT_COMPONENT_HEIGHT, LIMIT_COMPONENT_SIZE, LIMIT_COMPONENT_WIDTH, USE_COMPONENT_SIZE

 

Constructor Summary
CPrintPreview()
           
CPrintPreview(PageHeader header)
           
CPrintPreview(java.lang.String title)
           
CPrintPreview(java.lang.String title, PageHeader header)
           

 

Method Summary
 void dispose()
           
 java.awt.print.Pageable getBook()
           
 int getNumPages()
           
 Page getPage(int pageIndex)
           
 java.awt.print.PageFormat getPageFormat(int pageIndex)
           
 void print()
           

 

Methods inherited from class com.essbase.eas.ui.print.CPrint
addObject, createBook, getFontMetrics, print

 

Methods inherited from class com.essbase.eas.utils.print.CDefaultPrint
addBoldObject, addDocument, addJComponentObject, addJComponentObject, addJList, addKeyValue, addListModel, addObjects, addObjects, addRAFObjects, addRootTreeNode, addStringWithPagebreaks, addTable, addTableModel, addTextComponent, addTree, addTreeModel, createBook, disposeObject, getHeaderFont, getPageFont, getPageFormat, getPreviewComponent, getTextPainter, getTitle, pageSetup, print, setHeader, setHeaderFont, setPageFont, setPreviewComponent, setTitle, startNewLine, startNewPage

 

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

 

Methods inherited from interface com.essbase.eas.ui.print.CPrintable
addBoldObject, addJComponentObject, addJComponentObject, addJList, addKeyValue, addListModel, addObjects, addObjects, addRAFObjects, addRootTreeNode, addStringWithPagebreaks, addTable, addTableModel, addTextComponent, addTree, addTreeModel, getHeaderFont, getPageFont, getPageFormat, getTitle, setHeader, setHeaderFont, setPageFont, setTitle, startNewLine, startNewPage

 

Constructor Detail

CPrintPreview

public CPrintPreview()

CPrintPreview

public CPrintPreview(java.lang.String title)

CPrintPreview

public CPrintPreview(PageHeader header)

CPrintPreview

public CPrintPreview(java.lang.String title,
                     PageHeader header)

Method Detail

print

public void print()
Overrides:
print in class CDefaultPrint

getNumPages

public int getNumPages()

getPageFormat

public java.awt.print.PageFormat getPageFormat(int pageIndex)
                                        throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getPage

public Page getPage(int pageIndex)
             throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getBook

public java.awt.print.Pageable getBook()

dispose

public void dispose()
Overrides:
dispose in class CDefaultPrint

Skip navigation links


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