Cytoscape 2.8.0 API

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".


Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.