jdk/src/share/classes/java/awt/print/Pageable.java
changeset 12813 c10ab96dcf41
parent 5506 202f599c92aa
child 16734 da1901d79073
equal deleted inserted replaced
12491:b3a91113026c 12813:c10ab96dcf41
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 package java.awt.print;
    26 package java.awt.print;
    27 
    27 
       
    28 import javax.tools.annotation.GenerateNativeHeader;
       
    29 
    28 /**
    30 /**
    29  * The <code>Pageable</code> implementation represents a set of
    31  * The <code>Pageable</code> implementation represents a set of
    30  * pages to be printed. The <code>Pageable</code> object returns
    32  * pages to be printed. The <code>Pageable</code> object returns
    31  * the total number of pages in the set as well as the
    33  * the total number of pages in the set as well as the
    32  * {@link PageFormat} and {@link Printable} for a specified page.
    34  * {@link PageFormat} and {@link Printable} for a specified page.
    33  * @see java.awt.print.PageFormat
    35  * @see java.awt.print.PageFormat
    34  * @see java.awt.print.Printable
    36  * @see java.awt.print.Printable
    35  */
    37  */
       
    38 /* No native methods here, but the constants are needed in the supporting JNI code */
       
    39 @GenerateNativeHeader
    36 public interface Pageable {
    40 public interface Pageable {
    37 
    41 
    38     /**
    42     /**
    39      * This constant is returned from the
    43      * This constant is returned from the
    40      * {@link #getNumberOfPages() getNumberOfPages}
    44      * {@link #getNumberOfPages() getNumberOfPages}