org.shiftone.memento.model
Class ImportTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byorg.shiftone.memento.model.ImportTableModel
All Implemented Interfaces:
java.awt.image.ImageObserver, java.io.Serializable, javax.swing.table.TableModel

public class ImportTableModel
extends javax.swing.table.AbstractTableModel
implements java.awt.image.ImageObserver

See Also:
Serialized Form

Field Summary
static org.apache.log4j.Logger LOG
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ImportTableModel()
           
 
Method Summary
 void addPhoto(java.io.File photo)
           
 java.lang.Class getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int columnIndex)
           
 java.util.List getPhotoList()
           
 int getRowCount()
           
 int getRowHeight()
           
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 boolean imageUpdate(java.awt.Image img, int infoflags, int x, int y, int width, int height)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void setRowHeight(int rowHeight)
           
 void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Logger LOG
Constructor Detail

ImportTableModel

public ImportTableModel()
Method Detail

addPhoto

public void addPhoto(java.io.File photo)

getPhotoList

public java.util.List getPhotoList()

setRowHeight

public void setRowHeight(int rowHeight)

getRowHeight

public int getRowHeight()

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface javax.swing.table.TableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface javax.swing.table.TableModel

getColumnName

public java.lang.String getColumnName(int columnIndex)
Specified by:
getColumnName in interface javax.swing.table.TableModel

getColumnClass

public java.lang.Class getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface javax.swing.table.TableModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface javax.swing.table.TableModel

setValueAt

public void setValueAt(java.lang.Object aValue,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface javax.swing.table.TableModel

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)
Specified by:
getValueAt in interface javax.swing.table.TableModel

imageUpdate

public boolean imageUpdate(java.awt.Image img,
                           int infoflags,
                           int x,
                           int y,
                           int width,
                           int height)
Specified by:
imageUpdate in interface java.awt.image.ImageObserver