Cytoscape 2.8.0 API

cytoscape.view
Class NetworkTreeTableModel

java.lang.Object
  extended by cytoscape.util.swing.AbstractTreeTableModel
      extended by cytoscape.view.NetworkTreeTableModel
All Implemented Interfaces:
TreeTableModel, TreeModel

public final class NetworkTreeTableModel
extends AbstractTreeTableModel

Inner class that extends the AbstractTreeTableModel


Field Summary
 
Fields inherited from class cytoscape.util.swing.AbstractTreeTableModel
listenerList, root
 
Constructor Summary
NetworkTreeTableModel(Object root)
           
 
Method Summary
 void addColumn(ColumnTypes model, int idx)
           
 Object getChild(Object parent, int index)
           
 int getChildCount(Object parent)
           
 Class<?> getColumnClass(int column)
          DOCUMENT ME!
 int getColumnCount()
          Returns the number of availible columns.
 String getColumnName(int column)
          Returns the name for column number column.
 Object getValueAt(Object node, int column)
          Returns the value to be displayed for node node, at column number column.
 void removeColumn(int idx)
           
 void setValueAt(Object aValue, Object node, int column)
          DOCUMENT ME!
 
Methods inherited from class cytoscape.util.swing.AbstractTreeTableModel
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, isCellEditable, isLeaf, removeTreeModelListener, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkTreeTableModel

public NetworkTreeTableModel(Object root)
Method Detail

addColumn

public void addColumn(ColumnTypes model,
                      int idx)

removeColumn

public void removeColumn(int idx)

getChild

public Object getChild(Object parent,
                       int index)

getChildCount

public int getChildCount(Object parent)

getColumnCount

public int getColumnCount()
Description copied from interface: TreeTableModel
Returns the number of availible columns.


getColumnName

public String getColumnName(int column)
Description copied from interface: TreeTableModel
Returns the name for column number column.


getColumnClass

public Class<?> getColumnClass(int column)
Description copied from class: AbstractTreeTableModel
DOCUMENT ME!

Specified by:
getColumnClass in interface TreeTableModel
Overrides:
getColumnClass in class AbstractTreeTableModel
Parameters:
column - DOCUMENT ME!
Returns:
DOCUMENT ME!

getValueAt

public Object getValueAt(Object node,
                         int column)
Description copied from interface: TreeTableModel
Returns the value to be displayed for node node, at column number column.


setValueAt

public void setValueAt(Object aValue,
                       Object node,
                       int column)
Description copied from class: AbstractTreeTableModel
DOCUMENT ME!

Specified by:
setValueAt in interface TreeTableModel
Overrides:
setValueAt in class AbstractTreeTableModel
Parameters:
aValue - DOCUMENT ME!
node - DOCUMENT ME!
column - DOCUMENT ME!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.