< prev index next >

src/java.desktop/share/classes/java/awt/image/FilteredImageSource.java

Print this page

        

@@ -56,12 +56,12 @@
     ImageFilter filter;
 
     /**
      * Constructs an ImageProducer object from an existing ImageProducer
      * and a filter object.
-     * @param orig the specified <code>ImageProducer</code>
-     * @param imgf the specified <code>ImageFilter</code>
+     * @param orig the specified {@code ImageProducer}
+     * @param imgf the specified {@code ImageFilter}
      * @see ImageFilter
      * @see java.awt.Component#createImage
      */
     public FilteredImageSource(ImageProducer orig, ImageFilter imgf) {
         src = orig;

@@ -69,25 +69,25 @@
     }
 
     private Hashtable<ImageConsumer, ImageFilter> proxies;
 
     /**
-     * Adds the specified <code>ImageConsumer</code>
+     * Adds the specified {@code ImageConsumer}
      * to the list of consumers interested in data for the filtered image.
-     * An instance of the original <code>ImageFilter</code>
+     * An instance of the original {@code ImageFilter}
      * is created
-     * (using the filter's <code>getFilterInstance</code> method)
+     * (using the filter's {@code getFilterInstance} method)
      * to manipulate the image data
-     * for the specified <code>ImageConsumer</code>.
+     * for the specified {@code ImageConsumer}.
      * The newly created filter instance
-     * is then passed to the <code>addConsumer</code> method
-     * of the original <code>ImageProducer</code>.
+     * is then passed to the {@code addConsumer} method
+     * of the original {@code ImageProducer}.
      *
      * <p>
      * This method is public as a side effect
      * of this class implementing
-     * the <code>ImageProducer</code> interface.
+     * the {@code ImageProducer} interface.
      * It should not be called from user code,
      * and its behavior if called from user code is unspecified.
      *
      * @param ic  the consumer for the filtered image
      * @see ImageConsumer

@@ -108,15 +108,15 @@
      * currently interested in data for this image.
      *
      * <p>
      * This method is public as a side effect
      * of this class implementing
-     * the <code>ImageProducer</code> interface.
+     * the {@code ImageProducer} interface.
      * It should not be called from user code,
      * and its behavior if called from user code is unspecified.
      *
-     * @param ic the specified <code>ImageConsumer</code>
+     * @param ic the specified {@code ImageConsumer}
      * @return true if the ImageConsumer is on the list; false otherwise
      * @see ImageConsumer
      */
     public synchronized boolean isConsumer(ImageConsumer ic) {
         return (proxies != null && proxies.containsKey(ic));

@@ -127,11 +127,11 @@
      * data for this image.
      *
      * <p>
      * This method is public as a side effect
      * of this class implementing
-     * the <code>ImageProducer</code> interface.
+     * the {@code ImageProducer} interface.
      * It should not be called from user code,
      * and its behavior if called from user code is unspecified.
      *
      * @see ImageConsumer
      */

@@ -148,25 +148,25 @@
         }
     }
 
     /**
      * Starts production of the filtered image.
-     * If the specified <code>ImageConsumer</code>
+     * If the specified {@code ImageConsumer}
      * isn't already a consumer of the filtered image,
-     * an instance of the original <code>ImageFilter</code>
+     * an instance of the original {@code ImageFilter}
      * is created
-     * (using the filter's <code>getFilterInstance</code> method)
+     * (using the filter's {@code getFilterInstance} method)
      * to manipulate the image data
-     * for the <code>ImageConsumer</code>.
-     * The filter instance for the <code>ImageConsumer</code>
-     * is then passed to the <code>startProduction</code> method
-     * of the original <code>ImageProducer</code>.
+     * for the {@code ImageConsumer}.
+     * The filter instance for the {@code ImageConsumer}
+     * is then passed to the {@code startProduction} method
+     * of the original {@code ImageProducer}.
      *
      * <p>
      * This method is public as a side effect
      * of this class implementing
-     * the <code>ImageProducer</code> interface.
+     * the {@code ImageProducer} interface.
      * It should not be called from user code,
      * and its behavior if called from user code is unspecified.
      *
      * @param ic  the consumer for the filtered image
      * @see ImageConsumer

@@ -190,11 +190,11 @@
      * ability to preserve the pixel ordering depends on the filter.
      *
      * <p>
      * This method is public as a side effect
      * of this class implementing
-     * the <code>ImageProducer</code> interface.
+     * the {@code ImageProducer} interface.
      * It should not be called from user code,
      * and its behavior if called from user code is unspecified.
      *
      * @see ImageConsumer
      */
< prev index next >