Uses of Interface
org.cytoscape.work.Task
Package
Description
Handle importing Cytoscape data (network, attributes, session, properties, etc) from files/URLs.
This package provides factory interfaces to be used by anyone wishing to provide
export or writing capabilities to the rest of Cytoscape.
This package provides base classes for common task factory types as well as their associated task types found in Cytoscape.
This package provides access to the available layout algorithms, as well as provides abstract layout
classes and layout information containers for the convenience of implementing other layout algorithms.
This package defines the task framework, where tasks are units of work.
-
Uses of Task in org.cytoscape.io.read
Modifier and TypeInterfaceDescriptioninterface
An extension of the Task interface that returns an array ofCyNetwork
objects that are read as part of the Task.interface
An extension of the Task interface that returns a property object.interface
An extension of the Task interface that returns aorg.cytoscape.property.session.Cysession
object.interface
An extension of the Task interface that returns an array ofCyTable
objects.interface
An extension of the Task interface that returns aVisualStyle
object. -
Uses of Task in org.cytoscape.io.write
Modifier and TypeInterfaceDescriptioninterface
A marker interface used to identify tasks involved in writing data. -
Uses of Task in org.cytoscape.task
Modifier and TypeClassDescriptionclass
The base class for all tasks that need to operate on an edge view and possibly its associated network view.class
The base class for all tasks that need to operate on a Collection ofCyNetwork
s.class
Base class for all tasks that need to operate on aCyNetwork
.class
The base class for all tasks that need to operate on a Collection ofCyNetworkView
s.class
The base class for all tasks that need to operate on a network view.class
The base class for all tasks that need to operate on a node view and possibly its associated network view.class
The base class for all tasks that need to operate on a Collection ofCyRootNetwork
s.class
Base class for all tasks that need to operate on aCyRow
.class
A base class for Tasks that need to operate on a single CyTable cell.class
A base class for Tasks that need to operate on an entire CyTable column.class
A base class for Tasks that need to operate on an entireCyTable
. -
Uses of Task in org.cytoscape.view.layout
Modifier and TypeClassDescriptionclass
This is a basic implementation of a LayoutAlgorithm Task that does some bookkeeping, but primarily delegates to the doLayout() method.class
This is an even more helpful implementation of a LayoutAlgorithm Task that extends AbstractPartitionLayoutTask and does the work of partitioning the CyNetworkView so that partitions may be laid out individually.class
This is a more helpful implementation of a LayoutAlgorithm Task that extends AbstractBasicLayoutTask and does the work of partitioning the CyNetworkView so that partitions may be laid out individually. -
Uses of Task in org.cytoscape.work
Modifier and TypeInterfaceDescriptioninterface
ATask
that notifies its observers when it is finished executing.Modifier and TypeClassDescriptionclass
A base class for tasks that need to be able to access the TaskIterator that contains them.Modifier and TypeMethodDescriptionFinishStatus.getTask()
Returns the task that was cancelled or that had failed, or returns null if the task iterator succeeded.TaskIterator.next()
Returns the next Task in order if the TaskIterator can still yield more Tasks, otherwise throws an exception.Modifier and TypeMethodDescriptionvoid
Adds the given task to the end of this iterator.void
TaskIterator.insertTasksAfter
(Task referenceTask, Task... newTasks) Inserts "newTasks" immediately after "referenceTask".void
TaskIterator.insertTasksAfter
(Task referenceTask, TaskIterator newTasks) Inserts "newTasks" immediately after "referenceTask".protected final void
AbstractTask.insertTasksAfterCurrentTask
(Task... newTasks) Inserts "newTasks" after the current Task, in the TaskIterator that is being managed by this class.static FinishStatus
FinishStatus.newCancelled
(Task cancelledTask) Construct a newFinishStatus
object that indicates cancellation.static FinishStatus
Construct a newFinishStatus
object that indicates failure.ModifierConstructorDescriptionprotected
FinishStatus
(FinishStatus.Type type, Task task, Exception exception) TaskIterator
(int expectedNumTasks, Task... initialTasks) Constructs an iterator that will yield Tasks in the order that they were passed into this constructor.TaskIterator
(Task... initialTasks) Constructs an iterator that will yield Tasks in the order that they were passed into this constructor.