Package com.logicaldoc.impex.application
Class DocumentTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
com.logicaldoc.impex.application.DocumentTableModel
- All Implemented Interfaces:
Serializable
,TableModel
Table Model for the archive's documents table in the browse page of the
application.
- Since:
- 4.5
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getColumnName
(int col) int
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 Details
-
DocumentTableModel
-
-
Method Details
-
getDocuments
-
setDocuments
-
getColumnCount
public int getColumnCount() -
getRowCount
public int getRowCount() -
getValueAt
-
getColumnName
- 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
-