|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.storm.print.jdk12.PageableDocument
The pageable document class allows StormPrinter to be easily
printed using Java 2 Pageable interface.
| Constructor Summary | |
PageableDocument(StormPrinter stormPrinter)
Create a new PageableDocument for the specified
stormPrinter. |
|
| Method Summary | |
String |
getDocumentName()
Gets the document name used for the print job. |
boolean |
print()
Print all of the pages in the print job. |
boolean |
print(int startPage,
int endPage)
Print all of the pages in specified print range. |
void |
setDocumentName(String parName)
Sets the document name used for the print job. |
void |
setPageDialogVisible(boolean isPageDialogVisible)
Sets the page dialog windows as visible when the print job is started. |
void |
setPrintDialogVisible(boolean isPrintDialogVisible)
Sets the print dialog visibility when the print method is called. |
void |
setStormPrinter(StormPrinter stormPrinter)
Sets the StormPrinter for this
PageableDocument. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PageableDocument(StormPrinter stormPrinter)
PageableDocument for the specified
stormPrinter.
stormPrinter - a pilot printer to be printed.StormPrinter| Method Detail |
public void setStormPrinter(StormPrinter stormPrinter)
StormPrinter for this
PageableDocument.
stormPrinter - the PageableDocument object to which to
set the PageableDocument object for this
PageableDocument.public void setPrintDialogVisible(boolean isPrintDialogVisible)
isPrintDialogVisible - public void setPageDialogVisible(boolean isPageDialogVisible)
isPageDialogVisible - true to display the dialog, false otherwisepublic String getDocumentName()
getDocumentName()public void setDocumentName(String parName)
parName - print job namesetDocumentName(java.lang.String)public boolean print()
public boolean print(int startPage,
int endPage)
startPage - start page for print job rangeendPage - end page for print job range
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||