Cytoscape 2.8.0 API

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

Field Summary
 
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
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.
protected  void setTable()
          Set table data based on the Map object returned by the data parser.
 void setValueAt(Object obj, int row, int col)
          DOCUMENT ME!
 
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, 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
clone, equals, finalize, 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

setTable

protected void setTable()
                 throws URISyntaxException
Set table data based on the Map object returned by the data parser.

Throws:
URISyntaxException

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!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.