Cytoscape 3.0.0-alpha8-SNAPSHOT API

org.cytoscape.task
Interface NodeViewTaskFactory

All Known Subinterfaces:
SelectFirstNeighborsNodeViewTaskFactory, TunableNodeViewTaskFactory<T>
All Known Implementing Classes:
AbstractNodeViewTaskFactory

public interface NodeViewTaskFactory

The assumption is that setNodeView() will be called before getTask() and that the Task in question operates on the specified View<CyNode>.


Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.

Method Summary
 TaskIterator createTaskIterator(View<CyNode> nodeView, CyNetworkView networkView)
          Provisions this factory with the node view and its associated network view, both of which will be passed into any task that will be created by this factory.
 boolean isReady(View<CyNode> nodeView, CyNetworkView networkView)
           
 

Method Detail

createTaskIterator

TaskIterator createTaskIterator(View<CyNode> nodeView,
                                CyNetworkView networkView)
Provisions this factory with the node view and its associated network view, both of which will be passed into any task that will be created by this factory.

Parameters:
nodeView - a non-null node view
netView - the non-null network view associated with the node view

isReady

boolean isReady(View<CyNode> nodeView,
                CyNetworkView networkView)

Cytoscape 3.0.0-alpha8-SNAPSHOT API

Copyright 2011 Cytoscape Consortium. All rights reserved.