jdk/src/share/classes/java/awt/image/ImageConsumer.java
changeset 16734 da1901d79073
parent 12813 c10ab96dcf41
child 21278 ef8a3a2a72f2
equal deleted inserted replaced
16733:9267ec7004a1 16734:da1901d79073
     1 /*
     1 /*
     2  * Copyright (c) 1995, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    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 /**
    33  * The interface for objects expressing interest in image data through
    32  * The interface for objects expressing interest in image data through
    34  * the ImageProducer interfaces.  When a consumer is added to an image
    33  * the ImageProducer interfaces.  When a consumer is added to an image
    35  * producer, the producer delivers all of the data about the image
    34  * producer, the producer delivers all of the data about the image
    37  *
    36  *
    38  * @see ImageProducer
    37  * @see ImageProducer
    39  *
    38  *
    40  * @author      Jim Graham
    39  * @author      Jim Graham
    41  */
    40  */
    42 /* No native methods here, but the constants are needed in the supporting JNI code */
       
    43 @GenerateNativeHeader
       
    44 public interface ImageConsumer {
    41 public interface ImageConsumer {
    45     /**
    42     /**
    46      * The dimensions of the source image are reported using the
    43      * The dimensions of the source image are reported using the
    47      * setDimensions method call.
    44      * setDimensions method call.
    48      * @param width the width of the source image
    45      * @param width the width of the source image