jdk/src/share/classes/java/awt/print/Printable.java
changeset 12813 c10ab96dcf41
parent 5506 202f599c92aa
child 16734 da1901d79073
equal deleted inserted replaced
12491:b3a91113026c 12813:c10ab96dcf41
    24  */
    24  */
    25 
    25 
    26 package java.awt.print;
    26 package java.awt.print;
    27 
    27 
    28 import java.awt.Graphics;
    28 import java.awt.Graphics;
       
    29 
       
    30 import javax.tools.annotation.GenerateNativeHeader;
    29 
    31 
    30 /**
    32 /**
    31  * The <code>Printable</code> interface is implemented
    33  * The <code>Printable</code> interface is implemented
    32  * by the <code>print</code> methods of the current
    34  * by the <code>print</code> methods of the current
    33  * page painter, which is called by the printing
    35  * page painter, which is called by the printing
    96  * <p>
    98  * <p>
    97  * @see java.awt.print.Pageable
    99  * @see java.awt.print.Pageable
    98  * @see java.awt.print.PageFormat
   100  * @see java.awt.print.PageFormat
    99  * @see java.awt.print.PrinterJob
   101  * @see java.awt.print.PrinterJob
   100  */
   102  */
       
   103 /* No native methods here, but the constants are needed in the supporting JNI code */
       
   104 @GenerateNativeHeader
   101 public interface Printable {
   105 public interface Printable {
   102 
   106 
   103     /**
   107     /**
   104      * Returned from {@link #print(Graphics, PageFormat, int)}
   108      * Returned from {@link #print(Graphics, PageFormat, int)}
   105      * to signify that the requested page was rendered.
   109      * to signify that the requested page was rendered.