public void setImage (Image image) { setImage(0, image);
public void setImage (int index, Image image) { checkWidget(); int columnCount = Math.max(parent.getTable().getColumnCount(), 1); if (index <= 0 || index >= columnCount) return; if (images.length < columnCount) { Image[] newImages = new Image[columnCount]; System.arraycopy(images, 0, newImages, 0, images.length); images = newImages; } images[index] = image; if (tableItem != null) tableItem.setImage(index, image);
public void setImage (Image image) {	setImage(0, image);}