Class AbstractNodeViewTaskFactory

java.lang.Object
org.cytoscape.task.AbstractNodeViewTaskFactory
All Implemented Interfaces:
NodeViewTaskFactory

public abstract class AbstractNodeViewTaskFactory extends Object implements NodeViewTaskFactory
A NodeViewTaskFactory that is always ready to produce a TaskIterator.

Cytoscape Backwards Compatibility (Abstract Class): This class is abstract and meant to be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.

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>
  • Constructor Details

    • AbstractNodeViewTaskFactory

      public AbstractNodeViewTaskFactory()
  • Method Details

    • isReady

      public boolean isReady(View<CyNode> nodeView, CyNetworkView networkView)
      Returns true of the supplied network and node views are not null.
      Specified by:
      isReady in interface NodeViewTaskFactory
      Parameters:
      nodeView - The node view
      networkView - The network view
      Returns:
      true of the supplied network and node views are not null.