Package com.logicaldoc.impex.application
Class DocInfoPanel.MyTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- com.logicaldoc.impex.application.DocInfoPanel.MyTableModel
-
- All Implemented Interfaces:
Serializable
,TableModel
- Enclosing class:
- DocInfoPanel
public class DocInfoPanel.MyTableModel extends AbstractTableModel
Table data model for the document's custom attributes values.- Since:
- 4.5
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MyTableModel(IndexVersion vers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
String
getColumnName(int col)
int
getRowCount()
Object
getValueAt(int rowIndex, int columnIndex)
com.logicaldoc.core.document.Version
getVersion()
boolean
isEditable()
void
setVersion(IndexVersion version)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
-
-
-
Constructor Detail
-
MyTableModel
public MyTableModel(IndexVersion vers)
-
-
Method Detail
-
isEditable
public boolean isEditable()
-
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
-
getVersion
public com.logicaldoc.core.document.Version getVersion()
-
setVersion
public void setVersion(IndexVersion version)
-
-