< prev index next >

src/java.desktop/share/classes/sun/print/OpenBook.java

Print this page

        

*** 72,93 **** return UNKNOWN_NUMBER_OF_PAGES; } /** * Return the PageFormat of the page specified by 'pageIndex'. ! * @param int The zero based index of the page whose * PageFormat is being requested. * @return The PageFormat describing the size and orientation */ public PageFormat getPageFormat(int pageIndex) { return mFormat; } /** * Return the Printable instance responsible for rendering * the page specified by 'pageIndex'. ! * @param int The zero based index of the page whose * Printable is being requested. * @return The Printable that will draw the page. */ public Printable getPrintable(int pageIndex) throws IndexOutOfBoundsException --- 72,93 ---- return UNKNOWN_NUMBER_OF_PAGES; } /** * Return the PageFormat of the page specified by 'pageIndex'. ! * @param pageIndex The zero based index of the page whose * PageFormat is being requested. * @return The PageFormat describing the size and orientation */ public PageFormat getPageFormat(int pageIndex) { return mFormat; } /** * Return the Printable instance responsible for rendering * the page specified by 'pageIndex'. ! * @param pageIndex The zero based index of the page whose * Printable is being requested. * @return The Printable that will draw the page. */ public Printable getPrintable(int pageIndex) throws IndexOutOfBoundsException
< prev index next >