Package se.datadosen.jalbum
Class BackupRestoreBase.AlbumProjectModel
java.lang.Object
javax.swing.table.AbstractTableModel
se.datadosen.jalbum.BackupRestoreBase.AlbumProjectModel
- All Implemented Interfaces:
Serializable
,TableModel
- Enclosing class:
BackupRestoreBase
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addProject
(AlbumProject row) void
clear()
Class<?>
getColumnClass
(int columnIndex) int
getColumnName
(int column) getProject
(int rowIndex) int
getValueAt
(int rowIndex, int columnIndex) boolean
isCellEditable
(int rowIndex, int columnIndex) void
setData
(List<AlbumProject> data) void
setValueAt
(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
-
Field Details
-
projects
-
-
Constructor Details
-
AlbumProjectModel
-
-
Method Details
-
getRowCount
public int getRowCount() -
getColumnCount
public int getColumnCount() -
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getValueAt
-
getProject
-
addProject
-
clear
public void clear() -
setValueAt
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-
setData
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-