Lines Matching refs:page

32  * which pages may have different page formats and page painters. This
70 * Returns the {@link PageFormat} of the page specified by
72 * @param pageIndex the zero based index of the page whose
75 * orientation of the page.
77 * does not contain the requested page
87 * the page specified by <code>pageIndex</code>.
88 * @param pageIndex the zero based index of the page whose
90 * @return the <code>Printable</code> that renders the page.
92 * does not contain the requested page
102 * specified page number.
103 * @param pageIndex the zero based index of the page whose
106 * renders the page
107 * @param page the size and orientation of the page
109 * page is not already in this <code>Book</code>
111 * <code>page</code> argument is <code>null</code>
113 public void setPage(int pageIndex, Printable painter, PageFormat page)
120 if (page == null) {
121 throw new NullPointerException("page is null");
124 mPages.setElementAt(new BookPage(painter, page), pageIndex);
128 * Appends a single page to the end of this <code>Book</code>.
130 * renders the page
131 * @param page the size and orientation of the page
133 * If the <code>painter</code> or <code>page</code>
136 public void append(Printable painter, PageFormat page) {
137 mPages.addElement(new BookPage(painter, page));
143 * <code>page</code>.
145 * the page
146 * @param page the size and orientation of the page
150 * If the <code>painter</code> or <code>page</code>
153 public void append(Printable painter, PageFormat page, int numPages) {
154 BookPage bookPage = new BookPage(painter, page);
165 * Return the BookPage for the page specified by 'pageIndex'.
175 * page in a Book through a PageFormat-Printable pair.
179 * The size and orientation of the page.
184 * The instance that will draw the page.
189 * A new instance where 'format' describes the page's
191 * that will draw the page's graphics.
208 * page.
215 * Return the format of the page.