jdk/src/share/classes/java/awt/peer/ComponentPeer.java
changeset 16734 da1901d79073
parent 12813 c10ab96dcf41
child 20465 b08b3909ee92
equal deleted inserted replaced
16733:9267ec7004a1 16734:da1901d79073
     1 /*
     1 /*
     2  * Copyright (c) 1995, 2008, 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
    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;
       
    36 import sun.awt.CausedFocusEvent;
    35 import sun.awt.CausedFocusEvent;
    37 import sun.java2d.pipe.Region;
    36 import sun.java2d.pipe.Region;
    38 
    37 
    39 
    38 
    40 /**
    39 /**
    48  * the AWT. They are not intended for use by application
    47  * the AWT. They are not intended for use by application
    49  * developers, and developers should not implement peers
    48  * developers, and developers should not implement peers
    50  * nor invoke any of the peer methods directly on the peer
    49  * nor invoke any of the peer methods directly on the peer
    51  * instances.
    50  * instances.
    52  */
    51  */
    53 /* No native methods here, but the constants are needed in the supporting JNI code */
       
    54 @GenerateNativeHeader
       
    55 public interface ComponentPeer {
    52 public interface ComponentPeer {
    56 
    53 
    57     /**
    54     /**
    58      * Operation for {@link #setBounds(int, int, int, int, int)}, indicating
    55      * Operation for {@link #setBounds(int, int, int, int, int)}, indicating
    59      * a change in the component location only.
    56      * a change in the component location only.