1 19 20 package jxl.write; 21 22 import java.io.File ; 23 24 import jxl.biff.drawing.Drawing; 25 import jxl.biff.drawing.DrawingGroupObject; 26 import jxl.biff.drawing.DrawingGroup; 27 28 34 public class WritableImage extends Drawing 35 { 36 45 public WritableImage(double x, double y, 46 double width, double height, 47 File image) 48 { 49 super(x, y, width, height, image); 50 } 51 52 61 public WritableImage(double x, double y, 62 double width, double height, 63 byte[] imageData) 64 { 65 super(x, y, width, height, imageData); 66 } 67 68 73 public WritableImage(DrawingGroupObject d, DrawingGroup dg) 74 { 75 super(d, dg); 76 } 77 78 83 public double getColumn() 84 { 85 return super.getX(); 86 } 87 88 93 public void setColumn(double c) 94 { 95 super.setX(c); 96 } 97 98 103 public double getRow() 104 { 105 return super.getY(); 106 } 107 108 113 public void setRow(double c) 114 { 115 super.setY(c); 116 } 117 118 123 public double getWidth() 124 { 125 return super.getWidth(); 126 } 127 128 135 public void setWidth(double c) 136 { 137 super.setWidth(c); 138 } 139 140 145 public double getHeight() 146 { 147 return super.getHeight(); 148 } 149 150 157 public void setHeight(double c) 158 { 159 super.setHeight(c); 160 } 161 162 167 public File getImageFile() 168 { 169 return super.getImageFile(); 170 } 171 172 177 public byte[] getImageData() 178 { 179 return super.getImageData(); 180 } 181 } 182 | Popular Tags |