Package org.cytoscape.task
Class AbstractNodeViewTask
- java.lang.Object
-
- org.cytoscape.work.AbstractTask
-
- org.cytoscape.task.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 Summary
Fields Modifier and Type Field Description protected CyNetworkView
netView
The network view that descendants of this class will operate on.protected View<CyNode>
nodeView
The node view that descendants of this class will operate on.-
Fields inherited from class org.cytoscape.work.AbstractTask
cancelled
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
-
Methods inherited from class org.cytoscape.work.AbstractTask
cancel, getTaskIterator, insertTasksAfterCurrentTask, insertTasksAfterCurrentTask, run, setTaskIterator
-
-
-
-
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 onnetView
- the non-null network that is associated withnodeView
-
-