54 |
* This constant is returned when <code>getNumberOfPages()</code> |
* This constant is returned when <code>getNumberOfPages()</code> |
55 |
* cannot determine the number of pages available for printing. |
* cannot determine the number of pages available for printing. |
56 |
*/ |
*/ |
57 |
public static final int UNKNOWN_NUMBER_OF_PAGES = -1; |
int UNKNOWN_NUMBER_OF_PAGES = -1; |
58 |
|
|
59 |
/*************************************************************************/ |
/*************************************************************************/ |
60 |
|
|
70 |
* @return The number of pages to be printed, or |
* @return The number of pages to be printed, or |
71 |
* <code>UNKNOWN_NUMBER_OF_PAGES</code> if this is unknown. |
* <code>UNKNOWN_NUMBER_OF_PAGES</code> if this is unknown. |
72 |
*/ |
*/ |
73 |
public abstract int |
int |
74 |
getNumberOfPages(); |
getNumberOfPages(); |
75 |
|
|
76 |
/*************************************************************************/ |
/*************************************************************************/ |
88 |
* @exception IndexOutOfBoundsException If the requested page number does |
* @exception IndexOutOfBoundsException If the requested page number does |
89 |
* not exist. |
* not exist. |
90 |
*/ |
*/ |
91 |
public abstract PageFormat |
PageFormat |
92 |
getPageFormat(int pageIndex) throws IndexOutOfBoundsException; |
getPageFormat(int pageIndex) throws IndexOutOfBoundsException; |
93 |
|
|
94 |
/*************************************************************************/ |
/*************************************************************************/ |
106 |
* @exception IndexOutOfBoundsException If the requested page number does |
* @exception IndexOutOfBoundsException If the requested page number does |
107 |
* not exist. |
* not exist. |
108 |
*/ |
*/ |
109 |
public abstract Printable |
Printable |
110 |
getPrintable(int pageIndex) throws IndexOutOfBoundsException; |
getPrintable(int pageIndex) throws IndexOutOfBoundsException; |
111 |
|
|
112 |
} // interface Pageable |
} // interface Pageable |