|
org.netbeans.modules.print 7.9.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PrintProvider
Print provider is the collection of the pages to be printed, where collection is the 2D matrix.
| Method Summary | |
|---|---|
String |
getName()
Indicates the name of the document being printed which will be shown in the header/footer. |
PrintPage[][] |
getPages(int width,
int height,
double zoom)
Returns print pages being shown and printed. |
Date |
lastModified()
Indicates the time at which the user last made a modification to the document, diagram, etc. |
| Method Detail |
|---|
PrintPage[][] getPages(int width,
int height,
double zoom)
pages[1][2] will
be shown in second row and third column in the dialog.
width - specifies the width of pages in pixels.height - specifies the height of pages in pixels.zoom - specifies the scale of pages.
The zoom can take positive double value:
0.2 means 20%,
1.0 - 100%,
3.1415 - 314.5% etc.
String getName()
Date lastModified()
|
org.netbeans.modules.print 7.9.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||