Searched refs:pageIndex (Results 1 - 25 of 72) sorted by relevance

123

/openjdk10/jdk/src/java.desktop/share/classes/java/awt/print/
H A DPageable.java61 * {@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 DBook.java71 * {@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 DPrintable.java111 * {@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 DExceptionTest.java68 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 DHeadlessPrintingTest.java45 public int print(Graphics g, PageFormat pg, int pageIndex) {
47 if (pageIndex > 2) {
52 g2d.drawString("page " + pageIndex, 100, 100);
H A DEmptyFill.java40 public int print(Graphics g, PageFormat pf, int pageIndex) { argument
42 if (pageIndex > 0) {
H A DPSQuestionMark.java39 public int print(Graphics g, PageFormat pf, int pageIndex) { argument
41 if (pageIndex > 0) {
H A DPrinterJobDialogBugDemo.java94 int pageIndex) {
95 if (pageIndex == 0) {
93 print(java.awt.Graphics g, java.awt.print.PageFormat pageFormat, int pageIndex) argument
H A DPrintAttributeUpdateTest.java76 public PageFormat getPageFormat(int pageIndex) { argument
81 public Printable getPrintable(int pageIndex) { argument
H A DPrintCrashTest.java48 printerJob.setPrintable((graphics, pageFormat, pageIndex) -> {
49 if (pageIndex != 0) {
H A DPrtException.java65 public int print(Graphics g,PageFormat pf,int pageIndex) { argument
67 if(pageIndex>=1){
H A DNumCopies.java62 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 DInitToBlack.java52 public int print(Graphics g, PageFormat pf, int pageIndex) { argument
H A DPrintRotatedText.java108 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 DPrintAllFonts.java69 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 DPrintLatinCJKTest.java72 public int print(Graphics g, PageFormat pf, int pageIndex) argument
75 if (pageIndex > 0) {
H A DPrinterDevice.java59 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 DOpenBook.java76 * 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 DCompoundPrintable.java49 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 DPrintDlgPageable.java100 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 DMediaInPrintable.java81 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 DHeadlessPrinterJob.java43 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 DPrintARGBImage.java58 public int print(Graphics g, PageFormat pf, int pageIndex) argument
61 if (pageIndex != 0) {
H A DNullClipARGB.java48 public int print(Graphics g, PageFormat pf, int pageIndex) argument
51 if (pageIndex != 0) {
/openjdk10/jdk/test/java/awt/print/PageFormat/
H A DValidateCustom.java97 public int print(Graphics g, PageFormat pf, int pageIndex){ argument
98 if(pageIndex == 0){

Completed in 130 milliseconds

123