org.mydm.models
Class SearchTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.mydm.models.SearchTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel
- public class SearchTableModel
- extends javax.swing.table.AbstractTableModel
Collection Table Model for our Collections. Showing the Metadata of the
documents. Uses DocHandler to get the list of documents and DocReader to read
the XML data and display that as the Metadata.
- See Also:
org.docman.ui.SearchTableModel
,
org.docman.db.DocHandler
,
org.docman.db.DocReader
,
Serialized Form
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchTableModel
public SearchTableModel(java.lang.String colname)
- Constructer
- Parameters:
colname
- collection name.
initVar
public void initVar()
getRowCount
public int getRowCount()
getColumnCount
public int getColumnCount()
getColumnName
public java.lang.String getColumnName(int col)
getValueAt
public java.lang.Object getValueAt(int row,
int column)
getColumnClass
public java.lang.Class getColumnClass(int c)
isCellEditable
public boolean isCellEditable(int r,
int c)
setValueAt
public void setValueAt(java.lang.Object value,
int row,
int col)
getColHash
public java.util.HashMap getColHash()
addRow
public void addRow(EDocument edoc)
removeRow
public void removeRow(int rowNo)