/openjdk10/jdk/src/java.desktop/share/classes/java/awt/print/ |
H A D | Pageable.java | 61 * {@code pageIndex}. 62 * @param pageIndex the zero based index of the page whose 70 PageFormat getPageFormat(int pageIndex) argument 75 * rendering the page specified by {@code pageIndex}. 76 * @param pageIndex the zero based index of the page whose 83 Printable getPrintable(int pageIndex) argument
|
H A D | Book.java | 71 * {@code pageIndex}. 72 * @param pageIndex the zero based index of the page whose 79 public PageFormat getPageFormat(int pageIndex) argument 82 return getPage(pageIndex).getPageFormat(); 87 * the page specified by {@code pageIndex}. 88 * @param pageIndex the zero based index of the page whose 94 public Printable getPrintable(int pageIndex) argument 97 return getPage(pageIndex).getPrintable(); 103 * @param pageIndex the zero based index of the page whose 113 public void setPage(int pageIndex, Printabl argument 167 getPage(int pageIndex) argument [all...] |
H A D | Printable.java | 111 * {@code pageIndex} is too large and that the requested page 124 * of the requested page is specified by {@code pageIndex}. 133 * @param pageIndex the zero based index of the page to be drawn 135 * or NO_SUCH_PAGE if {@code pageIndex} specifies a 140 int print(Graphics graphics, PageFormat pageFormat, int pageIndex) argument
|
/openjdk10/jdk/test/java/awt/print/PrinterJob/ |
H A D | ExceptionTest.java | 68 public PageFormat getPageFormat(int pageIndex) { argument 69 if (pageIndex > MAXPAGE) throw new IndexOutOfBoundsException(); 74 public Printable getPrintable(int pageIndex) { argument 75 if (pageIndex == 1) throw new IndexOutOfBoundsException();
|
H A D | HeadlessPrintingTest.java | 45 public int print(Graphics g, PageFormat pg, int pageIndex) { 47 if (pageIndex > 2) { 52 g2d.drawString("page " + pageIndex, 100, 100);
|
H A D | EmptyFill.java | 40 public int print(Graphics g, PageFormat pf, int pageIndex) { argument 42 if (pageIndex > 0) {
|
H A D | PSQuestionMark.java | 39 public int print(Graphics g, PageFormat pf, int pageIndex) { argument 41 if (pageIndex > 0) {
|
H A D | PrinterJobDialogBugDemo.java | 94 int pageIndex) { 95 if (pageIndex == 0) { 93 print(java.awt.Graphics g, java.awt.print.PageFormat pageFormat, int pageIndex) argument
|
H A D | PrintAttributeUpdateTest.java | 76 public PageFormat getPageFormat(int pageIndex) { argument 81 public Printable getPrintable(int pageIndex) { argument
|
H A D | PrintCrashTest.java | 48 printerJob.setPrintable((graphics, pageFormat, pageIndex) -> { 49 if (pageIndex != 0) {
|
H A D | PrtException.java | 65 public int print(Graphics g,PageFormat pf,int pageIndex) { argument 67 if(pageIndex>=1){
|
H A D | NumCopies.java | 62 public int print(Graphics g, PageFormat pf, int pageIndex) argument 65 if (pageIndex > 1) { 70 g.drawString("This is page number " + Integer.toString(pageIndex), 50, 50);
|
H A D | InitToBlack.java | 52 public int print(Graphics g, PageFormat pf, int pageIndex) { argument
|
H A D | PrintRotatedText.java | 108 public PageFormat getPageFormat(int pageIndex) { argument 109 if (pageIndex > MAXPAGE) throw new IndexOutOfBoundsException(); 116 if (pageIndex==1) 118 else if (pageIndex==2) 125 public Printable getPrintable(int pageIndex) { argument 126 if (pageIndex > MAXPAGE) throw new IndexOutOfBoundsException();
|
H A D | PrintAllFonts.java | 69 public int print(Graphics g, PageFormat pf, int pageIndex) { argument 71 if (fontNum >= allFonts.length && pageIndex > thisPage) { 74 if (pageIndex > thisPage) { 76 thisPage = pageIndex;
|
H A D | PrintLatinCJKTest.java | 72 public int print(Graphics g, PageFormat pf, int pageIndex) argument 75 if (pageIndex > 0) {
|
H A D | PrinterDevice.java | 59 public int print(Graphics g, PageFormat pf, int pageIndex) { argument 60 if (pageIndex > 0 ) {
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/print/ |
H A D | OpenBook.java | 76 * Return the PageFormat of the page specified by 'pageIndex'. 77 * @param pageIndex The zero based index of the page whose 81 public PageFormat getPageFormat(int pageIndex) { argument 87 * the page specified by 'pageIndex'. 88 * @param pageIndex The zero based index of the page whose 92 public Printable getPrintable(int pageIndex) argument
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/swing/text/ |
H A D | CompoundPrintable.java | 49 final int pageIndex) throws PrinterException { 52 ret = printables.peek().print(graphics, pf, pageIndex - offset); 47 print(final Graphics graphics, final PageFormat pf, final int pageIndex) argument
|
/openjdk10/jdk/test/java/awt/print/Dialog/ |
H A D | PrintDlgPageable.java | 100 public Printable getPrintable(int pageIndex) { argument 104 public PageFormat getPageFormat(int pageIndex) { argument 105 System.out.println("getPageFormat called "+pageIndex); 106 if (pageIndex == 0) {
|
H A D | MediaInPrintable.java | 81 public int print(Graphics g, PageFormat pf, int pageIndex) throws PrinterException { argument 82 if (pageIndex > 0) { 87 g.drawString("Page " + (pageIndex+1), 100, 100);
|
/openjdk10/jdk/test/java/awt/print/Headless/ |
H A D | HeadlessPrinterJob.java | 43 public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) { argument 46 if (pageIndex >= 10) { 91 public PageFormat getPageFormat(int pageIndex) throws IndexOutOfBoundsException { argument 93 if (pageIndex >= 10) { 96 switch (pageIndex) { 117 public Printable getPrintable(int pageIndex) throws IndexOutOfBoundsException { argument 118 if (pageIndex >= 10) {
|
/openjdk10/jdk/test/java/awt/print/PrinterJob/ImagePrinting/ |
H A D | PrintARGBImage.java | 58 public int print(Graphics g, PageFormat pf, int pageIndex) argument 61 if (pageIndex != 0) {
|
H A D | NullClipARGB.java | 48 public int print(Graphics g, PageFormat pf, int pageIndex) argument 51 if (pageIndex != 0) {
|
/openjdk10/jdk/test/java/awt/print/PageFormat/ |
H A D | ValidateCustom.java | 97 public int print(Graphics g, PageFormat pf, int pageIndex){ argument 98 if(pageIndex == 0){
|