|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface for objects providing printing functionality.
| Method Summary | |
int |
getNumPages(PageFormat format)
Returns the number of pages which would be printed using the specified page format. |
boolean |
print(Graphics g,
PageFormat format,
int pageindex)
Draws the specified page on the printer's graphics context. |
| Method Detail |
public int getNumPages(PageFormat format)
format - the page format
public boolean print(Graphics g,
PageFormat format,
int pageindex)
g - the printer's graphics contextformat - the page format to be usedpageindex - the page number to be printed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||