Class AbstractNodeViewTask

  • All Implemented Interfaces:
    Task

    public abstract class AbstractNodeViewTask
    extends AbstractTask
    The base class for all tasks that need to operate on a node view and possibly its associated network view.

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

      • nodeView

        protected final View<CyNode> nodeView
        The node view that descendants of this class will operate on.
      • netView

        protected final CyNetworkView netView
        The network view that descendants of this class will operate on.
    • Constructor Detail

      • AbstractNodeViewTask

        public AbstractNodeViewTask​(View<CyNode> nodeView,
                                    CyNetworkView netView)
        Base class constructor for all tasks that need to operate on a node view and possibly its associated network view.
        Parameters:
        nodeView - a non-null node view that descendants of this class will operate on
        netView - the non-null network that is associated with nodeView