|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.apps.PrintScreenPainter
public class PrintScreenPainter
PrintScreen Painter
| Field Summary |
|---|
| Fields inherited from interface java.awt.print.Pageable |
|---|
UNKNOWN_NUMBER_OF_PAGES |
| Fields inherited from interface java.awt.print.Printable |
|---|
NO_SUCH_PAGE, PAGE_EXISTS |
| Constructor Summary | |
|---|---|
PrintScreenPainter(Window element)
PrintScreen Painter |
|
| Method Summary | |
|---|---|
int |
getNumberOfPages()
Get Number of pages |
PageFormat |
getPageFormat(int pageIndex)
Get Page Format |
Printable |
getPrintable(int pageIndex)
Get Printable |
int |
print(Graphics graphics,
PageFormat pageFormat,
int pageIndex)
|
static void |
printScreen(Window element)
Static print start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrintScreenPainter(Window element)
element - Window to print| Method Detail |
|---|
public int getNumberOfPages()
getNumberOfPages in interface Pageable
public Printable getPrintable(int pageIndex)
throws IndexOutOfBoundsException
getPrintable in interface PageablepageIndex - page index
IndexOutOfBoundsException
public PageFormat getPageFormat(int pageIndex)
throws IndexOutOfBoundsException
getPageFormat in interface PageablepageIndex - page index
IndexOutOfBoundsException
public int print(Graphics graphics,
PageFormat pageFormat,
int pageIndex)
throws PrinterException
print in interface Printablegraphics - graphicspageFormat - page formatpageIndex - page index
PrinterExceptionpublic static void printScreen(Window element)
element - window
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||