Cytoscape 2.2 (c) 2004 ISB, MSKCC, UCSD

cytoscape.util.swing
Class TreeTableModelAdapter

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended bycytoscape.util.swing.TreeTableModelAdapter
All Implemented Interfaces:
Serializable, TableModel

public class TreeTableModelAdapter
extends AbstractTableModel

This is a wrapper class takes a TreeTableModel and implements the table model interface. The implementation is trivial, with all of the event dispatching support provided by the superclass: the AbstractTableModel.

Version:
1.2 10/27/98
Author:
Philip Milne, Scott Violet
See Also:
Serialized Form

Constructor Summary
TreeTableModelAdapter(TreeTableModel treeTableModel, JTree tree)
           
 
Method Summary
 Class getColumnClass(int column)
           
 int getColumnCount()
           
 String getColumnName(int column)
           
 int getRowCount()
           
 Object getValueAt(int row, int column)
           
 boolean isCellEditable(int row, int column)
           
 void setValueAt(Object value, int row, int column)
           
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeTableModelAdapter

public TreeTableModelAdapter(TreeTableModel treeTableModel,
                             JTree tree)
Method Detail

getColumnCount

public int getColumnCount()

getColumnName

public String getColumnName(int column)

getColumnClass

public Class getColumnClass(int column)

getRowCount

public int getRowCount()

getValueAt

public Object getValueAt(int row,
                         int column)

isCellEditable

public boolean isCellEditable(int row,
                              int column)

setValueAt

public void setValueAt(Object value,
                       int row,
                       int column)

www.cytoscape.org