Interface java.awt.print.PageContext
- Implementing Classes:
- Book.BookPageContext, ProxyGraphics2D
- public interface PageContext
A PageContext implementation provides information
about a page that is part of a PrinterJob. The
PageContext provides the painter, a Printable
implementation, as well as the format of a page.
getPagePainter
public Printable getPagePainter()
- Return the object that paints the image on
the page.
getPageFormat
public PageFormat getPageFormat()
- Return the format of the page being drawn.
getPageName
public String getPageName()
- Return the name of the given page. This name might
simply be the page's index plus 1 returned as a
String or it might be something like "iii" or
"Table of Contents".
getPageIndex
public int getPageIndex()
- Return the index of the page being drawn.
Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.