Package com.logicaldoc.impex.application
Class DocumentTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- com.logicaldoc.impex.application.DocumentTableModel
-
- All Implemented Interfaces:
Serializable
,TableModel
public class DocumentTableModel extends AbstractTableModel
Table Model for the archive's documents table in the browse page of the application.- Since:
- 4.5
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentTableModel(List<IndexVersion> documents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
String
getColumnName(int col)
List<IndexVersion>
getDocuments()
int
getRowCount()
Object
getValueAt(int rowIndex, int columnIndex)
boolean
isCellEditable(int row, int column)
void
setDocuments(List<IndexVersion> documents)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
-
-
-
-
Constructor Detail
-
DocumentTableModel
public DocumentTableModel(List<IndexVersion> documents)
-
-
Method Detail
-
getDocuments
public List<IndexVersion> getDocuments()
-
setDocuments
public void setDocuments(List<IndexVersion> documents)
-
getColumnCount
public int getColumnCount()
-
getRowCount
public int getRowCount()
-
getValueAt
public Object getValueAt(int rowIndex, int columnIndex)
-
getColumnName
public String getColumnName(int col)
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int row, int column)
- Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
-