/[classpath]/classpath/javax/imageio/IIOImage.java
ViewVC logotype

Diff of /classpath/javax/imageio/IIOImage.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.3 by gnu_andrew, Wed Nov 2 00:43:38 2005 UTC revision 1.1.2.4 by tromey, Thu Dec 1 15:09:47 2005 UTC
# Line 79  public class IIOImage Line 79  public class IIOImage
79    /**    /**
80     * A list of BufferedImage thumbnails of this image.     * A list of BufferedImage thumbnails of this image.
81     */     */
82    // for 1.5 these lists are List<? extends BufferedImage>    protected List<? extends BufferedImage> thumbnails;
   protected List thumbnails;  
83    
84    /**    /**
85     * Construct an IIOImage containing raster image data, thumbnails     * Construct an IIOImage containing raster image data, thumbnails
# Line 92  public class IIOImage Line 91  public class IIOImage
91     *     *
92     * @exception IllegalArgumentException if raster is null     * @exception IllegalArgumentException if raster is null
93     */     */
94    public IIOImage (Raster raster, List thumbnails, IIOMetadata metadata)    public IIOImage (Raster raster, List<? extends BufferedImage> thumbnails,
95                       IIOMetadata metadata)
96    {    {
97      if (raster == null)      if (raster == null)
98        throw new IllegalArgumentException ("raster may not be null");        throw new IllegalArgumentException ("raster may not be null");
# Line 112  public class IIOImage Line 112  public class IIOImage
112     *     *
113     * @exception IllegalArgumentException if image is null     * @exception IllegalArgumentException if image is null
114     */     */
115    public IIOImage (RenderedImage image, List thumbnails, IIOMetadata metadata)    public IIOImage (RenderedImage image, List<? extends BufferedImage> thumbnails,
116                       IIOMetadata metadata)
117    {    {
118      if (image == null)      if (image == null)
119        throw new IllegalArgumentException ("image may not be null");        throw new IllegalArgumentException ("image may not be null");
# Line 192  public class IIOImage Line 193  public class IIOImage
193     *     *
194     * @return a list of thumbnails or null     * @return a list of thumbnails or null
195     */     */
196    public List getThumbnails()    public List<? extends BufferedImage> getThumbnails()
197    {    {
198      return thumbnails;      return thumbnails;
199    }    }
# Line 260  public class IIOImage Line 261  public class IIOImage
261     *     *
262     * @param thumbnails a new list of thumbnails or null     * @param thumbnails a new list of thumbnails or null
263     */     */
264    public void setThumbnails (List thumbnails)    public void setThumbnails (List<? extends BufferedImage> thumbnails)
265    {    {
266      this.thumbnails = thumbnails;      this.thumbnails = thumbnails;
267    }    }

Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26