Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.dialogs
Class NetworkMetaDataTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by javax.swing.table.DefaultTableModel
          extended by cytoscape.dialogs.NetworkMetaDataTableModel
All Implemented Interfaces:
Serializable, TableModel

public class NetworkMetaDataTableModel
extends DefaultTableModel

Table model for the Network Metadata Dialog.

Since:
2.3
Version:
1.0
Author:
kono
See Also:
NetworkMetaDataDialog, Serialized Form

Constructor Summary
NetworkMetaDataTableModel(CyNetwork network)
          Constructor for the network metadata table model.
 
Method Summary
 int getColumnCount()
          DOCUMENT ME!
 String getDescription()
          Get Desctiption entry, which will not be included in the table.
 int getRowCount()
          DOCUMENT ME!
 Object getValueAt(int arg0, int arg1)
          DOCUMENT ME!
 boolean isCellEditable(int row, int column)
          Determine which cell is editible or not.
 void setValueAt(Object obj, int row, int col)
          DOCUMENT ME!
 
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, getColumnName, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkMetaDataTableModel

public NetworkMetaDataTableModel(CyNetwork network)
Constructor for the network metadata table model.

Parameters:
network - Metadata for this network will be edited.
Method Detail

getDescription

public String getDescription()
Get Desctiption entry, which will not be included in the table.

Returns:
Long string of description.

getColumnCount

public int getColumnCount()
DOCUMENT ME!

Specified by:
getColumnCount in interface TableModel
Overrides:
getColumnCount in class DefaultTableModel
Returns:
DOCUMENT ME!

getRowCount

public int getRowCount()
DOCUMENT ME!

Specified by:
getRowCount in interface TableModel
Overrides:
getRowCount in class DefaultTableModel
Returns:
DOCUMENT ME!

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Determine which cell is editible or not.

Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class DefaultTableModel

getValueAt

public Object getValueAt(int arg0,
                         int arg1)
DOCUMENT ME!

Specified by:
getValueAt in interface TableModel
Overrides:
getValueAt in class DefaultTableModel
Parameters:
arg0 - DOCUMENT ME!
arg1 - DOCUMENT ME!
Returns:
DOCUMENT ME!

setValueAt

public void setValueAt(Object obj,
                       int row,
                       int col)
DOCUMENT ME!

Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class DefaultTableModel
Parameters:
obj - DOCUMENT ME!
row - DOCUMENT ME!
col - DOCUMENT ME!

www.cytoscape.org