equal
deleted
inserted
replaced
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 |