/Users/lyon/j4p/src/gui/ImageBeanInterface.java

1    /* 
2     * Created by IntelliJ IDEA. 
3     * User: lyon 
4     * Date: Feb 12, 2003 
5     * Time: 12:51:10 PM 
6     * To change template for new interface use 
7     * Code Style | Class Templates options (Tools | IDE Options). 
8     */ 
9    package gui; 
10    
11   import j2d.ShortImageBean; 
12    
13   import java.awt.*; 
14   import java.awt.image.ColorModel; 
15   import java.io.File; 
16    
17   public interface ImageBeanInterface { 
18       public Image getImage(); 
19    
20       public void setImage(Image _image); 
21    
22       public void setImage(ShortImageBean sib); 
23    
24       public ColorModel getColorModel(); 
25    
26       boolean isFromFile(); 
27    
28       public void setFromFile(boolean fromFile); 
29    
30       public int getImageWidth(); 
31    
32       public int getImageHeight(); 
33    
34       public void setImageWidth(int w); 
35    
36       public void setImageHeight(int h); 
37    
38    
39       public File getFile(); 
40    
41       public void setFile(File _f); 
42   } 
43