jdk/src/java.desktop/share/classes/javax/swing/plaf/LayerUI.java
changeset 26037 508779ce6619
parent 26029 730f9bc4b85e
parent 25859 3317bb8137f4
child 30451 d28ee90b36ea
equal deleted inserted replaced
25992:e9b05e933ddd 26037:508779ce6619
   714      *
   714      *
   715      * @param x  the x value of the region to be painted
   715      * @param x  the x value of the region to be painted
   716      * @param y  the y value of the region to be painted
   716      * @param y  the y value of the region to be painted
   717      * @param width  the width of the region to be painted
   717      * @param width  the width of the region to be painted
   718      * @param height  the height of the region to be painted
   718      * @param height  the height of the region to be painted
   719      *
   719      * @param l  a {@code JLayer} component
   720      * @see JComponent#paintImmediately(int, int, int, int)
   720      * @see JComponent#paintImmediately(int, int, int, int)
   721      */
   721      */
   722     public void paintImmediately(int x, int y, int width, int height, JLayer<? extends V> l) {
   722     public void paintImmediately(int x, int y, int width, int height, JLayer<? extends V> l) {
   723         l.paintImmediately(x, y, width, height);
   723         l.paintImmediately(x, y, width, height);
   724     }
   724     }
       
   725 
       
   726     /**
       
   727      * Delegates its functionality to the default implementation of the {@code JLayer.imageUpdate} method
       
   728      * which is inherited from {@code JLayer}'s base classes.
       
   729      * <p>
       
   730      * This method is to be overridden instead of {@code JLayer.imageUpdate}.
       
   731      * <p>
       
   732      * <b>Note:</b> This method is usually called <b>not</b> on the Event Dispatching Thread.
       
   733      */
       
   734     public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h, JLayer<? extends V> l) {
       
   735         return l.imageUpdate(img, infoflags, x, y, w, h);
       
   736     }
   725 }
   737 }