jdk/src/share/classes/java/awt/image/ImageObserver.java
changeset 16734 da1901d79073
parent 12813 c10ab96dcf41
equal deleted inserted replaced
16733:9267ec7004a1 16734:da1901d79073
     1 /*
     1 /*
     2  * Copyright (c) 1995, 1999, 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.awt.Image;
    28 import java.awt.Image;
    29 
    29 
    30 import javax.tools.annotation.GenerateNativeHeader;
       
    31 
    30 
    32 /**
    31 /**
    33  * An asynchronous update interface for receiving notifications about
    32  * An asynchronous update interface for receiving notifications about
    34  * Image information as the Image is constructed.
    33  * Image information as the Image is constructed.
    35  *
    34  *
    36  * @author      Jim Graham
    35  * @author      Jim Graham
    37  */
    36  */
    38 /* No native methods here, but the constants are needed in the supporting JNI code */
       
    39 @GenerateNativeHeader
       
    40 public interface ImageObserver {
    37 public interface ImageObserver {
    41     /**
    38     /**
    42      * This method is called when information about an image which was
    39      * This method is called when information about an image which was
    43      * previously requested using an asynchronous interface becomes
    40      * previously requested using an asynchronous interface becomes
    44      * available.  Asynchronous interfaces are method calls such as
    41      * available.  Asynchronous interfaces are method calls such as