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

fing.model
Interface FingNodeDepot


public interface FingNodeDepot

Please try to restrain from using this class, or even looking at it. This class was created so that certain legacy applications would have an easier time using this giny.model implementation. Please use FingRootGraphFactory instead of this class.

See Also:
FingRootGraphFactory

Method Summary
 Node getNode(RootGraph root, int index, String id)
          This either instantiates a new node or gets one from the recyclery, initializing it with the parameters specified.
 void recycleNode(Node node)
          Recycles a node.
 

Method Detail

getNode

Node getNode(RootGraph root,
             int index,
             String id)
This either instantiates a new node or gets one from the recyclery, initializing it with the parameters specified.


recycleNode

void recycleNode(Node node)
Recycles a node. Implementations may choose to do nothing in this method and instantiate a new node in each call to getNode(). This method is simply a hook for Fing to tell the depository "I'm done using this node object -- it's no longer part of a RootGraph".


www.cytoscape.org