jdk/src/share/classes/java/awt/peer/ComponentPeer.java
changeset 12813 c10ab96dcf41
parent 5506 202f599c92aa
child 16734 da1901d79073
equal deleted inserted replaced
12491:b3a91113026c 12813:c10ab96dcf41
    30 import java.awt.image.ImageProducer;
    30 import java.awt.image.ImageProducer;
    31 import java.awt.image.ImageObserver;
    31 import java.awt.image.ImageObserver;
    32 import java.awt.image.ColorModel;
    32 import java.awt.image.ColorModel;
    33 import java.awt.image.VolatileImage;
    33 import java.awt.image.VolatileImage;
    34 import java.awt.GraphicsConfiguration;
    34 import java.awt.GraphicsConfiguration;
       
    35 import javax.tools.annotation.GenerateNativeHeader;
    35 import sun.awt.CausedFocusEvent;
    36 import sun.awt.CausedFocusEvent;
    36 import sun.java2d.pipe.Region;
    37 import sun.java2d.pipe.Region;
    37 
    38 
    38 
    39 
    39 /**
    40 /**
    47  * the AWT. They are not intended for use by application
    48  * the AWT. They are not intended for use by application
    48  * developers, and developers should not implement peers
    49  * developers, and developers should not implement peers
    49  * nor invoke any of the peer methods directly on the peer
    50  * nor invoke any of the peer methods directly on the peer
    50  * instances.
    51  * instances.
    51  */
    52  */
       
    53 /* No native methods here, but the constants are needed in the supporting JNI code */
       
    54 @GenerateNativeHeader
    52 public interface ComponentPeer {
    55 public interface ComponentPeer {
    53 
    56 
    54     /**
    57     /**
    55      * Operation for {@link #setBounds(int, int, int, int, int)}, indicating
    58      * Operation for {@link #setBounds(int, int, int, int, int)}, indicating
    56      * a change in the component location only.
    59      * a change in the component location only.