/* (non-Javadoc)
* @see javax.swing.table.TableModel#getValueAt(int, int)
*/
public Object getValueAt(int rowIndex, int columnIndex) {
ImageModel image = this.images.get(rowIndex);
switch (columnIndex){
case 0:
if (image.getTumbnail()==null) return thumbPlaceholder;
else return image.getTumbnail();
case 1:
if (image.getWidth()==null||image.getHeight()==null)
return "<html><b>"+image.getFileName()+"</b><br>"
+"unknown size"
+"</html>";
else
return "<html><b>"+image.getFileName()+"</b><br>"
+image.getWidth()+" x "+image.getHeight()
+"</html>";
}
return null;
}