Package org.cytoscape.task
Class AbstractNodeViewTask
java.lang.Object
org.cytoscape.work.AbstractTask
org.cytoscape.task.AbstractNodeViewTask
- All Implemented Interfaces:
Task
The base class for all tasks that need to operate on a node view and possibly its associated network view.
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>
-
Field Summary
Modifier and TypeFieldDescriptionprotected CyNetworkView
The network view that descendants of this class will operate on.The node view that descendants of this class will operate on.Fields inherited from class org.cytoscape.work.AbstractTask
cancelled
-
Constructor Summary
ConstructorDescriptionAbstractNodeViewTask(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. -
Method Summary
Methods inherited from class org.cytoscape.work.AbstractTask
cancel, getTaskIterator, insertTasksAfterCurrentTask, insertTasksAfterCurrentTask, run, setTaskIterator
-
Field Details
-
nodeView
The node view that descendants of this class will operate on. -
netView
The network view that descendants of this class will operate on.
-
-
Constructor Details
-
AbstractNodeViewTask
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 onnetView
- the non-null network that is associated withnodeView
-