/[classpath]/classpath/java/awt/print/Pageable.java
ViewVC logotype

Diff of /classpath/java/awt/print/Pageable.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mark, Tue Jan 22 22:26:59 2002 UTC revision 1.5 by mkoch, Sun Oct 12 13:53:40 2003 UTC
# Line 54  public interface Pageable Line 54  public interface Pageable
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    
# Line 70  public static final int UNKNOWN_NUMBER_O Line 70  public static final int UNKNOWN_NUMBER_O
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  /*************************************************************************/  /*************************************************************************/
# Line 88  getNumberOfPages(); Line 88  getNumberOfPages();
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  /*************************************************************************/  /*************************************************************************/
# Line 106  getPageFormat(int pageIndex) throws Inde Line 106  getPageFormat(int pageIndex) throws Inde
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

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26