public interface NodeViewTaskFactory
Module: core-task-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>core-task-api</artifactId> </dependency>
Modifier and Type | Method and Description |
---|---|
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)
Returns true if the node view and network view are in a state that is
ready to be processed by the generated tasks and false otherwise.
|
TaskIterator createTaskIterator(View<CyNode> nodeView, CyNetworkView networkView)
nodeView
- a non-null node viewnetworkView
- the non-null network view associated with the node viewTask
objects to execute.boolean isReady(View<CyNode> nodeView, CyNetworkView networkView)
nodeView
- a non-null node viewnetworkView
- the non-null network view associated with the node viewCopyright 2011-2015 Cytoscape Consortium. All rights reserved.