Package slash.navigation.download
Class DownloadTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
slash.navigation.download.DownloadTableModel
- All Implemented Interfaces:
Serializable,TableModel
- Author:
- Christian Pesch
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDownload(int rowIndex) getDownload(String url) intgetValueAt(int rowIndex, int columnIndex) voidsetDownloads(List<Download> downloads) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Field Details
-
DESCRIPTION_COLUMN
public static final int DESCRIPTION_COLUMN- See Also:
-
STATE_COLUMN
public static final int STATE_COLUMN- See Also:
-
SIZE_COLUMN
public static final int SIZE_COLUMN- See Also:
-
DATE_COLUMN
public static final int DATE_COLUMN- See Also:
-
-
Constructor Details
-
DownloadTableModel
public DownloadTableModel()
-
-
Method Details
-
getDownloads
-
setDownloads
-
getRowCount
public int getRowCount() -
getColumnCount
public int getColumnCount() -
getValueAt
-
getDownload
-
getDownload
-