API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.print. Pageable View Source
Author(s)
Since
Version
Serial
Hierarchy
 Pageable
Subinterfaces
Description
public interface Pageable
  The Pageable implementation represents a set of pages to be printed.
See also:    PageFormat Printable
Methods
Hide/Show inherited methods
public int getNumberOfPages ()
  Returns the number of pages in the set.
public PageFormat getPageFormat (int pageIndex) throws IndexOutOfBoundsException
  Returns the PageFormat of the page specified by pageIndex.
public Printable getPrintable (int pageIndex) throws IndexOutOfBoundsException
  Returns the Printable instance responsible for rendering the page specified by pageIndex.
Fields
Hide/Show inherited fields
publicfinalstatic int UNKNOWN_NUMBER_OF_PAGES = "-1"
This constant is returned from the getNumberOfPages method if a Pageable implementation does not know the number of pages in its set.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar