jdk/src/share/classes/java/awt/image/ImageConsumer.java
changeset 12813 c10ab96dcf41
parent 5506 202f599c92aa
child 16734 da1901d79073
equal deleted inserted replaced
12491:b3a91113026c 12813:c10ab96dcf41
    25 
    25 
    26 package java.awt.image;
    26 package java.awt.image;
    27 
    27 
    28 import java.util.Hashtable;
    28 import java.util.Hashtable;
    29 
    29 
       
    30 import javax.tools.annotation.GenerateNativeHeader;
       
    31 
    30 /**
    32 /**
    31  * The interface for objects expressing interest in image data through
    33  * The interface for objects expressing interest in image data through
    32  * the ImageProducer interfaces.  When a consumer is added to an image
    34  * the ImageProducer interfaces.  When a consumer is added to an image
    33  * producer, the producer delivers all of the data about the image
    35  * producer, the producer delivers all of the data about the image
    34  * using the method calls defined in this interface.
    36  * using the method calls defined in this interface.
    35  *
    37  *
    36  * @see ImageProducer
    38  * @see ImageProducer
    37  *
    39  *
    38  * @author      Jim Graham
    40  * @author      Jim Graham
    39  */
    41  */
       
    42 /* No native methods here, but the constants are needed in the supporting JNI code */
       
    43 @GenerateNativeHeader
    40 public interface ImageConsumer {
    44 public interface ImageConsumer {
    41     /**
    45     /**
    42      * The dimensions of the source image are reported using the
    46      * The dimensions of the source image are reported using the
    43      * setDimensions method call.
    47      * setDimensions method call.
    44      * @param width the width of the source image
    48      * @param width the width of the source image