< prev index next >

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

Print this page

        

@@ -119,11 +119,11 @@
     /**
      * Constructs an ImageProducer object which uses an array of bytes
      * to produce data for an Image object.
      * @param w the width of the rectangle of pixels
      * @param h the height of the rectangle of pixels
-     * @param cm the specified <code>ColorModel</code>
+     * @param cm the specified {@code ColorModel}
      * @param pix an array of pixels
      * @param off the offset into the array of where to store the
      *        first pixel
      * @param scan the distance from one row of pixels to the next in
      *        the array

@@ -137,17 +137,17 @@
     /**
      * Constructs an ImageProducer object which uses an array of bytes
      * to produce data for an Image object.
      * @param w the width of the rectangle of pixels
      * @param h the height of the rectangle of pixels
-     * @param cm the specified <code>ColorModel</code>
+     * @param cm the specified {@code ColorModel}
      * @param pix an array of pixels
      * @param off the offset into the array of where to store the
      *        first pixel
      * @param scan the distance from one row of pixels to the next in
      *        the array
-     * @param props a list of properties that the <code>ImageProducer</code>
+     * @param props a list of properties that the {@code ImageProducer}
      *        uses to process an image
      * @see java.awt.Component#createImage
      */
     public MemoryImageSource(int w, int h, ColorModel cm,
                              byte[] pix, int off, int scan,

@@ -159,11 +159,11 @@
     /**
      * Constructs an ImageProducer object which uses an array of integers
      * to produce data for an Image object.
      * @param w the width of the rectangle of pixels
      * @param h the height of the rectangle of pixels
-     * @param cm the specified <code>ColorModel</code>
+     * @param cm the specified {@code ColorModel}
      * @param pix an array of pixels
      * @param off the offset into the array of where to store the
      *        first pixel
      * @param scan the distance from one row of pixels to the next in
      *        the array

@@ -177,17 +177,17 @@
     /**
      * Constructs an ImageProducer object which uses an array of integers
      * to produce data for an Image object.
      * @param w the width of the rectangle of pixels
      * @param h the height of the rectangle of pixels
-     * @param cm the specified <code>ColorModel</code>
+     * @param cm the specified {@code ColorModel}
      * @param pix an array of pixels
      * @param off the offset into the array of where to store the
      *        first pixel
      * @param scan the distance from one row of pixels to the next in
      *        the array
-     * @param props a list of properties that the <code>ImageProducer</code>
+     * @param props a list of properties that the {@code ImageProducer}
      *        uses to process an image
      * @see java.awt.Component#createImage
      */
     public MemoryImageSource(int w, int h, ColorModel cm,
                              int[] pix, int off, int scan,

@@ -236,11 +236,11 @@
      * @param pix an array of pixels
      * @param off the offset into the array of where to store the
      *        first pixel
      * @param scan the distance from one row of pixels to the next in
      *        the array
-     * @param props a list of properties that the <code>ImageProducer</code>
+     * @param props a list of properties that the {@code ImageProducer}
      *        uses to process an image
      * @see java.awt.Component#createImage
      * @see ColorModel#getRGBdefault
      */
     public MemoryImageSource(int w, int h, int pix[], int off, int scan,

@@ -251,13 +251,13 @@
     }
 
     /**
      * Adds an ImageConsumer to the list of consumers interested in
      * data for this image.
-     * @param ic the specified <code>ImageConsumer</code>
+     * @param ic the specified {@code ImageConsumer}
      * @throws NullPointerException if the specified
-     *           <code>ImageConsumer</code> is null
+     *           {@code ImageConsumer} is null
      * @see ImageConsumer
      */
     public synchronized void addConsumer(ImageConsumer ic) {
         if (theConsumers.contains(ic)) {
             return;

@@ -283,45 +283,45 @@
     }
 
     /**
      * Determines if an ImageConsumer is on the list of consumers currently
      * interested in data for this image.
-     * @param ic the specified <code>ImageConsumer</code>
-     * @return <code>true</code> if the <code>ImageConsumer</code>
-     * is on the list; <code>false</code> otherwise.
+     * @param ic the specified {@code ImageConsumer}
+     * @return {@code true} if the {@code ImageConsumer}
+     * is on the list; {@code false} otherwise.
      * @see ImageConsumer
      */
     public synchronized boolean isConsumer(ImageConsumer ic) {
         return theConsumers.contains(ic);
     }
 
     /**
      * Removes an ImageConsumer from the list of consumers interested in
      * data for this image.
-     * @param ic the specified <code>ImageConsumer</code>
+     * @param ic the specified {@code ImageConsumer}
      * @see ImageConsumer
      */
     public synchronized void removeConsumer(ImageConsumer ic) {
         theConsumers.removeElement(ic);
     }
 
     /**
      * Adds an ImageConsumer to the list of consumers interested in
      * data for this image and immediately starts delivery of the
      * image data through the ImageConsumer interface.
-     * @param ic the specified <code>ImageConsumer</code>
+     * @param ic the specified {@code ImageConsumer}
      * image data through the ImageConsumer interface.
      * @see ImageConsumer
      */
     public void startProduction(ImageConsumer ic) {
         addConsumer(ic);
     }
 
     /**
      * Requests that a given ImageConsumer have the image data delivered
      * one more time in top-down, left-right order.
-     * @param ic the specified <code>ImageConsumer</code>
+     * @param ic the specified {@code ImageConsumer}
      * @see ImageConsumer
      */
     public void requestTopDownLeftRightResend(ImageConsumer ic) {
         // Ignored.  The data is either single frame and already in TDLR
         // format or it is multi-frame and TDLR resends aren't critical.

@@ -335,11 +335,11 @@
      * created with it to ensure that all ImageConsumers will
      * receive the correct multi-frame data.  If an ImageConsumer
      * is added to this ImageProducer before this flag is set then
      * that ImageConsumer will see only a snapshot of the pixel
      * data that was available when it connected.
-     * @param animated <code>true</code> if the image is a
+     * @param animated {@code true} if the image is a
      *       multi-frame animation
      */
     public synchronized void setAnimated(boolean animated) {
         this.animating = animated;
         if (!animating) {

@@ -363,11 +363,11 @@
      * through the setAnimated() method.
      * <p>This method should be called immediately after the
      * MemoryImageSource is constructed and before an image is
      * created with it to ensure that all ImageConsumers will
      * receive the correct pixel delivery hints.
-     * @param fullbuffers <code>true</code> if the complete pixel
+     * @param fullbuffers {@code true} if the complete pixel
      *             buffer should always
      * be sent
      * @see #setAnimated
      */
     public synchronized void setFullBufferUpdates(boolean fullbuffers) {

@@ -440,11 +440,11 @@
      * of pixels to be sent
      * @param y the y coordinate of the upper left corner of the rectangle
      * of pixels to be sent
      * @param w the width of the rectangle of pixels to be sent
      * @param h the height of the rectangle of pixels to be sent
-     * @param framenotify <code>true</code> if the consumers should be sent a
+     * @param framenotify {@code true} if the consumers should be sent a
      * {@link ImageConsumer#SINGLEFRAMEDONE SINGLEFRAMEDONE} notification
      * @see ImageConsumer
      * @see #setAnimated
      * @see #setFullBufferUpdates
      */

@@ -492,11 +492,11 @@
      * If the animation flag has been turned on through the setAnimated()
      * method, then the new pixels will be immediately delivered to any
      * ImageConsumers that are currently interested in the data for
      * this image.
      * @param newpix the new pixel array
-     * @param newmodel the specified <code>ColorModel</code>
+     * @param newmodel the specified {@code ColorModel}
      * @param offset the offset into the array
      * @param scansize the distance from one row of pixels to the next in
      * the array
      * @see #newPixels(int, int, int, int, boolean)
      * @see #setAnimated

@@ -515,11 +515,11 @@
      * If the animation flag has been turned on through the setAnimated()
      * method, then the new pixels will be immediately delivered to any
      * ImageConsumers that are currently interested in the data for
      * this image.
      * @param newpix the new pixel array
-     * @param newmodel the specified <code>ColorModel</code>
+     * @param newmodel the specified {@code ColorModel}
      * @param offset the offset into the array
      * @param scansize the distance from one row of pixels to the next in
      * the array
      * @see #newPixels(int, int, int, int, boolean)
      * @see #setAnimated
< prev index next >