< prev index next >

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

Print this page

        

*** 51,61 **** * Returns a vector of RenderedImages that are the immediate sources of * image data for this RenderedImage. This method returns null if * the RenderedImage object has no information about its immediate * sources. It returns an empty Vector if the RenderedImage object has * no immediate sources. ! * @return a Vector of <code>RenderedImage</code> objects. */ Vector<RenderedImage> getSources(); /** * Gets a property from the property set of this image. The set of --- 51,61 ---- * Returns a vector of RenderedImages that are the immediate sources of * image data for this RenderedImage. This method returns null if * the RenderedImage object has no information about its immediate * sources. It returns an empty Vector if the RenderedImage object has * no immediate sources. ! * @return a Vector of {@code RenderedImage} objects. */ Vector<RenderedImage> getSources(); /** * Gets a property from the property set of this image. The set of
*** 70,122 **** Object getProperty(String name); /** * Returns an array of names recognized by * {@link #getProperty(String) getProperty(String)} ! * or <code>null</code>, if no property names are recognized. ! * @return a <code>String</code> array containing all of the ! * property names that <code>getProperty(String)</code> recognizes; ! * or <code>null</code> if no property names are recognized. */ String[] getPropertyNames(); /** * Returns the ColorModel associated with this image. All Rasters * returned from this image will have this as their ColorModel. This * can return null. ! * @return the <code>ColorModel</code> of this image. */ ColorModel getColorModel(); /** * Returns the SampleModel associated with this image. All Rasters * returned from this image will have this as their SampleModel. ! * @return the <code>SampleModel</code> of this image. */ SampleModel getSampleModel(); /** * Returns the width of the RenderedImage. ! * @return the width of this <code>RenderedImage</code>. */ int getWidth(); /** * Returns the height of the RenderedImage. ! * @return the height of this <code>RenderedImage</code>. */ int getHeight(); /** * Returns the minimum X coordinate (inclusive) of the RenderedImage. ! * @return the X coordinate of this <code>RenderedImage</code>. */ int getMinX(); /** * Returns the minimum Y coordinate (inclusive) of the RenderedImage. ! * @return the Y coordinate of this <code>RenderedImage</code>. */ int getMinY(); /** * Returns the number of tiles in the X direction. --- 70,122 ---- Object getProperty(String name); /** * Returns an array of names recognized by * {@link #getProperty(String) getProperty(String)} ! * or {@code null}, if no property names are recognized. ! * @return a {@code String} array containing all of the ! * property names that {@code getProperty(String)} recognizes; ! * or {@code null} if no property names are recognized. */ String[] getPropertyNames(); /** * Returns the ColorModel associated with this image. All Rasters * returned from this image will have this as their ColorModel. This * can return null. ! * @return the {@code ColorModel} of this image. */ ColorModel getColorModel(); /** * Returns the SampleModel associated with this image. All Rasters * returned from this image will have this as their SampleModel. ! * @return the {@code SampleModel} of this image. */ SampleModel getSampleModel(); /** * Returns the width of the RenderedImage. ! * @return the width of this {@code RenderedImage}. */ int getWidth(); /** * Returns the height of the RenderedImage. ! * @return the height of this {@code RenderedImage}. */ int getHeight(); /** * Returns the minimum X coordinate (inclusive) of the RenderedImage. ! * @return the X coordinate of this {@code RenderedImage}. */ int getMinX(); /** * Returns the minimum Y coordinate (inclusive) of the RenderedImage. ! * @return the Y coordinate of this {@code RenderedImage}. */ int getMinY(); /** * Returns the number of tiles in the X direction.
*** 195,206 **** /** * Computes and returns an arbitrary region of the RenderedImage. * The Raster returned is a copy of the image data and will not * be updated if the image is changed. * @param rect the region of the RenderedImage to be returned. ! * @return the region of the <code>RenderedImage</code> ! * indicated by the specified <code>Rectangle</code>. */ Raster getData(Rectangle rect); /** * Computes an arbitrary rectangular region of the RenderedImage --- 195,206 ---- /** * Computes and returns an arbitrary region of the RenderedImage. * The Raster returned is a copy of the image data and will not * be updated if the image is changed. * @param rect the region of the RenderedImage to be returned. ! * @return the region of the {@code RenderedImage} ! * indicated by the specified {@code Rectangle}. */ Raster getData(Rectangle rect); /** * Computes an arbitrary rectangular region of the RenderedImage
< prev index next >