Class AbstractNodeViewTaskFactory

  • All Implemented Interfaces:
    NodeViewTaskFactory

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

    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>

    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.
    • Constructor Detail

      • AbstractNodeViewTaskFactory

        public AbstractNodeViewTaskFactory()
    • Method Detail

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