net.elucidsoft.encruft
Class Document

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--net.elucidsoft.encruft.Document
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class Document
extends javax.swing.table.AbstractTableModel

See Also:
Serialized Form

Field Summary
protected  java.util.LinkedList m_list
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
Document()
           
 
Method Summary
 void add(java.lang.Object o)
           
 int getColumnCount()
           
 java.util.List getData()
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
           
 boolean isCellEditable(int row, int col)
           
 java.lang.Object remove(int index)
           
 void setData(java.util.List data)
           
 void setValueAt(java.lang.Object o, int row, int col)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_list

protected java.util.LinkedList m_list
Constructor Detail

Document

public Document()
Method Detail

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)

setValueAt

public void setValueAt(java.lang.Object o,
                       int row,
                       int col)
Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class javax.swing.table.AbstractTableModel

isCellEditable

public boolean isCellEditable(int row,
                              int col)
Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

remove

public java.lang.Object remove(int index)

add

public void add(java.lang.Object o)

setData

public void setData(java.util.List data)

getData

public java.util.List getData()


Copyright © 2002 eLucid Software. All Rights Reserved.