|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectag.ion.noa.internal.printing.PrintService
public class PrintService
Service for printing documents.
Constructor Summary | |
---|---|
PrintService(IDocument document)
Constructs new PrintService. |
Method Summary | |
---|---|
IPrinter |
createPrinter(java.lang.String name)
Constructs a printer with the given properties and returns it. |
IPrinter |
getActivePrinter()
Returns the active printer. |
boolean |
isActivePrinterBusy()
Returns if the active printer is busy. |
void |
print()
Prints the document to the active printer. |
void |
print(IPrintProperties printProperties)
Prints the document to the active printer with the given print properties. |
void |
setActivePrinter(IPrinter printer)
Sets the active printer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintService(IDocument document)
document
- the document using this print serviceMethod Detail |
---|
public void print() throws DocumentException
print
in interface IPrintService
DocumentException
- if printing failspublic void print(IPrintProperties printProperties) throws DocumentException
print
in interface IPrintService
printProperties
- the properties to print with, or null to use default settings
DocumentException
- if printing failspublic boolean isActivePrinterBusy() throws NOAException
isActivePrinterBusy
in interface IPrintService
NOAException
- if the busy state could not be retrievedpublic IPrinter getActivePrinter() throws NOAException
getActivePrinter
in interface IPrintService
NOAException
- if printer could not be retrievedpublic void setActivePrinter(IPrinter printer) throws NOAException
setActivePrinter
in interface IPrintService
printer
- the printer to be set to be active
NOAException
- if printer could not be setpublic IPrinter createPrinter(java.lang.String name) throws NOAException
createPrinter
in interface IPrintService
name
- the name of the printer cue to be used
NOAException
- if printer could not be constructed
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |