net.sf.jomic.comic
Class ConversionReport
java.lang.Object
javax.swing.table.AbstractTableModel
net.sf.jomic.comic.ConversionReport
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, javax.swing.event.ChangeListener, javax.swing.table.TableModel
public class ConversionReport
- extends javax.swing.table.AbstractTableModel
- implements javax.swing.event.ChangeListener
A report holding the current state of a conversion of multiple comics. To simplify the
presentation it also acts as TableModel.
- Author:
- Thomas Aglassinger
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_COLUMN
public static final int ERROR_COLUMN
- See Also:
- Constant Field Values
SOURCE_FILE_COLUMN
public static final int SOURCE_FILE_COLUMN
- See Also:
- Constant Field Values
SOURCE_FILE_SIZE_COLUMN
public static final int SOURCE_FILE_SIZE_COLUMN
- See Also:
- Constant Field Values
STATE_COLUMN
public static final int STATE_COLUMN
- See Also:
- Constant Field Values
TARGET_FILE_COLUMN
public static final int TARGET_FILE_COLUMN
- See Also:
- Constant Field Values
TARGET_FILE_SIZE_COLUMN
public static final int TARGET_FILE_SIZE_COLUMN
- See Also:
- Constant Field Values
ConversionReport
public ConversionReport()
get
public ConversionReportItem get(ComicToConvert comicToConvert)
get
public ConversionReportItem get(int index)
getColumnClass
public java.lang.Class getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interface javax.swing.table.TableModel
- Overrides:
getColumnClass
in class javax.swing.table.AbstractTableModel
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
- Overrides:
getColumnName
in class javax.swing.table.AbstractTableModel
getRowCount
public int getRowCount()
- Specified by:
getRowCount
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
clear
public void clear()
put
public void put(ComicToConvert comicToConvert)
size
public int size()
- Number of items in the report.
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent event)
- Called when one of the report items has changed to reflect the state in the table model.
- Specified by:
stateChanged
in interface javax.swing.event.ChangeListener