December 1999
Intermediate to advanced
816 pages
20h 27m
English
This package provides improved support (over JDK 1.0 and 1.1) for printing. It is built upon Java 2D support. This is a function of the fact that printing actually involves drawing a graphical image of the GUI to a printer.
public abstract interface Pageable
A Pageable object represents a set of pages. It also can provide page format and printable information on a specific page in the set of pages that the Pageable object represents. Prior to Java 2, there was no way to readily associate multiple pages.
public static final int UNKNOWN_NUMBER_OF_PAGES
public int getNumberOfPages() public PageFormat getPageFormat(int pageIndex) throws IndexOutOfBoundsException public ...
Read now
Unlock full access