API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.print. Printable View Source
Author(s)
Since
Version
Serial
Hierarchy
 Printable
Subinterfaces
Description
public interface Printable
  The Printable interface is implemented by the print methods of the current page painter, which is called by the printing system to render a page.
See also:    Pageable PageFormat PrinterJob
Methods
Hide/Show inherited methods
public int print (Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException
  Prints the page at the specified index into the specified Graphics context in the specified format.
Fields
Hide/Show inherited fields
publicfinalstatic int NO_SUCH_PAGE = "1"
Returned from print to signify that the pageIndex is too large and that the requested page does not exist.
publicfinalstatic int PAGE_EXISTS = "0"
Returned from Printable.print(Graphics, PageFormat, int) to signify that the requested page was rendered.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar