Package org.cytoscape.task
Interface RowTaskFactory
public interface RowTaskFactory
A task factory that creates one or more tasks that operate on the specified CyRow.
Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified 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>
-
Method Summary
Modifier and TypeMethodDescriptioncreateTaskIterator(CyRow row)
Provisions this factory with theCyRow
that will be passed into any task created by it.default boolean
If this task factory implements theTogglable
interface then this method determines if the button or check box is on or off.boolean
Returns true if this task factory is ready to produce a TaskIterator.
-
Method Details
-
createTaskIterator
Provisions this factory with theCyRow
that will be passed into any task created by it.- Parameters:
row
- a non-null CyRow- Returns:
- A TaskIterator object containing one or more
Task
objects to execute.
-
isReady
Returns true if this task factory is ready to produce a TaskIterator.- Parameters:
row
- a non-null CyRow- Returns:
- true if this task factory is ready to produce a TaskIterator.
-
isOn
If this task factory implements theTogglable
interface then this method determines if the button or check box is on or off.- Since:
- 3.9
-