站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface java.awt.print.Printable - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Interface
java.awt.print.Printable

Packages that use Printable
java.awt.print Provides classes and interfaces for a general printing API. 
 

Uses of Printable in java.awt.print
 

Methods in java.awt.print that return Printable
 Printable Book.getPrintable(int pageIndex)
          Returns the Printable instance responsible for rendering the page specified by pageIndex.
 Printable Pageable.getPrintable(int pageIndex)
          Returns the Printable instance responsible for rendering the page specified by pageIndex.
 

Methods in java.awt.print with parameters of type Printable
 void Book.setPage(int pageIndex, Printable painter, PageFormat page)
          Sets the PageFormat and the Painter for a specified page number.
 void Book.append(Printable painter, PageFormat page)
          Appends a single page to the end of this Book.
 void Book.append(Printable painter, PageFormat page, int numPages)
          Appends numPages pages to the end of this Book.
abstract  void PrinterJob.setPrintable(Printable painter)
          Calls painter to render the pages.
abstract  void PrinterJob.setPrintable(Printable painter, PageFormat format)
          Calls painter to render the pages in the specified format.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.