Coverage Report - com.buckosoft.PicMan.domain.Thumbnail
 
Classes in this File Line Coverage Branch Coverage Complexity
Thumbnail
0%
0/10
N/A
1
 
 1  
 /******************************************************************************
 2  
  * Thumbnail.java - Wrap an Image
 3  
  * 
 4  
  * PicMan - The BuckoSoft Picture Manager in Java
 5  
  * Copyright(c) 2005 - Dick Balaska
 6  
  * 
 7  
  */
 8  
 package com.buckosoft.PicMan.domain;
 9  
 
 10  
 //import java.awt.Image;
 11  
 import java.awt.image.BufferedImage;
 12  
 
 13  
 
 14  
 public class Thumbnail  {
 15  
 
 16  
         private        String                        name;
 17  
         private        BufferedImage        image;
 18  0
         private        boolean                        xThumb = false;
 19  
         
 20  0
         public Thumbnail() {
 21  0
         }
 22  0
         public        void        setName(String s) { name = s; }
 23  0
         public        String        getName() { return(name); }
 24  0
         public        void        setImage(BufferedImage im) { image = im; }
 25  0
         public        BufferedImage        getImage() { return(image); }
 26  
         /**
 27  
          * @return Returns if this pic is an xThumb. (i.e. a busted read)
 28  
          */
 29  
         public boolean isXThumb() {
 30  0
                 return xThumb;
 31  
         }
 32  
         /**
 33  
          * @param thumb flag to say that this is an xThumb from a busted read.
 34  
          */
 35  
         public void setXThumb(boolean thumb) {
 36  0
                 xThumb = thumb;
 37  0
         }
 38  
         
 39  
 }