|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
org.mydm.models.CollectionTableModel
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.
org.docman.ui.CollectionFrame
,
org.docman.db.DocHandler
,
org.docman.db.DocReader
,
Serialized FormField Summary |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
CollectionTableModel(java.lang.String colname)
Constructer |
Method Summary | |
void |
addRow(EDocument edoc)
Adds an EDocument Object as a new row |
java.lang.Class |
getColumnClass(int c)
Gets the Columns Class |
int |
getColumnCount()
|
java.lang.String |
getColumnName(int col)
Gets the Columns name |
EDocument[] |
getEDocuments()
Gets the EDocument objects stored in this model |
int |
getRowCount()
|
java.lang.Object |
getValueAt(int arg0,
int arg1)
|
boolean |
isCellEditable(int r,
int c)
|
void |
removeRow(int rowNo)
|
void |
setValueAt(java.lang.Object value,
int row,
int col)
|
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 |
Constructor Detail |
public CollectionTableModel(java.lang.String colname)
colname
- collection name.Method Detail |
public java.lang.String getColumnName(int col)
public java.lang.Class getColumnClass(int c)
public int getRowCount()
public int getColumnCount()
public boolean isCellEditable(int r, int c)
public java.lang.Object getValueAt(int arg0, int arg1)
public void setValueAt(java.lang.Object value, int row, int col)
public void addRow(EDocument edoc)
edoc
- EDocumentpublic void removeRow(int rowNo)
public EDocument[] getEDocuments()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |