Uses of Class
org.cytoscape.work.TaskIterator
-
Packages that use TaskIterator Package Description org.cytoscape.command Interface to support execution of tasks as commands, including the ability to get a list of namespaces, commands, and arguments, and then execute those commands with a set of arguments.org.cytoscape.io.read Handle importing Cytoscape data (network, attributes, session, properties, etc) from files/URLs.org.cytoscape.io.webservice Interfaces for SOAP/REST web service clients, web services that return results as networks or tables, or query results.org.cytoscape.task This package provides base classes for common task factory types as well as their associated task types found in Cytoscape.org.cytoscape.task.create This package provides a variety of task factory interfaces for creating new instances of network and other objects.org.cytoscape.task.edit This package include a set of task factory interfaces that allow the modification or editing of various objects within Cytoscape.org.cytoscape.task.hide This package includes a set of task factory interfaces showing and hiding nodes and edges within network views.org.cytoscape.task.read This package contains a set of task factory interfaces for reading various Cytoscape objects from files and URLs.org.cytoscape.task.select This package includes a set of task factory interfaces for selecting, de-selecting and inverting selections of nodes, edges, or combinations of both based on specific criteria.org.cytoscape.task.write This package contains a set of task factory interfaces used for exporting or writing a variety of Cytoscape objects to files.org.cytoscape.view.layout 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.org.cytoscape.work This package defines the task framework, where tasks are units of work. -
-
Uses of TaskIterator in org.cytoscape.command
Methods in org.cytoscape.command that return TaskIterator Modifier and Type Method Description TaskIterator
CommandExecutorTaskFactory. createTaskIterator(File commandFile, TaskObserver observer)
Creates a task iterator that will execute the specified commands.TaskIterator
CommandExecutorTaskFactory. createTaskIterator(String namespace, String command, Map<String,Object> args, TaskObserver observer)
Creates a task iterator that will execute the specified command.TaskIterator
CommandExecutorTaskFactory. createTaskIterator(List<String> commands, TaskObserver observer)
Creates a task iterator that will execute the specified commands.TaskIterator
CommandExecutorTaskFactory. createTaskIterator(TaskObserver observer, String... commands)
Creates a task iterator that will execute the specified commands. -
Uses of TaskIterator in org.cytoscape.io.read
Methods in org.cytoscape.io.read that return TaskIterator Modifier and Type Method Description TaskIterator
InputStreamTaskFactory. createTaskIterator(InputStream is, String inputName)
Sets the input stream that will be read by the Reader created from this factory. -
Uses of TaskIterator in org.cytoscape.io.webservice
Methods in org.cytoscape.io.webservice that return TaskIterator Modifier and Type Method Description TaskIterator
WebServiceClient. createTaskIterator(Object query)
Set query for the tasks to be executed. -
Uses of TaskIterator in org.cytoscape.task
Methods in org.cytoscape.task that return TaskIterator Modifier and Type Method Description TaskIterator
EdgeViewTaskFactory. createTaskIterator(View<CyEdge> edgeView, CyNetworkView networkView)
Creates a new TaskIterator using the given edge view and network view.TaskIterator
NetworkCollectionTaskFactory. createTaskIterator(Collection<CyNetwork> networks)
Provisions this factory with the collection of networks that will be passed into any task created by it.TaskIterator
NetworkTaskFactory. createTaskIterator(CyNetwork network)
Provisions this factory with theCyNetwork
that will be passed into any task created by it.TaskIterator
NetworkViewCollectionTaskFactory. createTaskIterator(Collection<CyNetworkView> networkViews)
Provisions this factory with the collection of network views that will be passed into any task created by it.TaskIterator
NetworkViewLocationTaskFactory. createTaskIterator(CyNetworkView networkView, Point2D javaPt, Point2D xformPt)
Creates a task iterator using the specified network view and points.TaskIterator
NetworkViewTaskFactory. createTaskIterator(CyNetworkView networkView)
Creates a new TaskIterator using the givenCyNetworkView
TaskIterator
NodeViewTaskFactory. createTaskIterator(View<CyNode> nodeView, CyNetworkView networkView)
Provisions this factory with the node view and its associated network view, both of which will be passed into any task that will be created by this factory.TaskIterator
RootNetworkCollectionTaskFactory. createTaskIterator(Collection<CyRootNetwork> networks)
Provisions this factory with the collection of root-networks that will be passed into any task created by it.TaskIterator
RowTaskFactory. createTaskIterator(CyRow row)
Provisions this factory with theCyRow
that will be passed into any task created by it.TaskIterator
TableCellTaskFactory. createTaskIterator(CyColumn column, Object primaryKeyValue)
Used to provision this factory with aCyColumn
and a primary key that will be used to create tasks.TaskIterator
TableColumnTaskFactory. createTaskIterator(CyColumn column)
Used to provision this factory with aCyColumn
that will be used to create tasks.TaskIterator
TableTaskFactory. createTaskIterator(CyTable table)
Used to provision this factory with aCyTable
that will be used to create tasks. -
Uses of TaskIterator in org.cytoscape.task.create
Methods in org.cytoscape.task.create that return TaskIterator Modifier and Type Method Description TaskIterator
CloneNetworkTaskFactory. createTaskIterator(CyNetwork network)
Returns a TaskIterator that clones the given network.TaskIterator
CreateNetworkViewTaskFactory. createTaskIterator(Collection<CyNetwork> networks, CyNetworkViewFactory factory)
Use this method to create a network view for each of the passed networks.TaskIterator
NewNetworkSelectedNodesAndEdgesTaskFactory. createTaskIterator(CyNetwork network)
Returns a TaskIterator that creates a new network from the selected nodes and edges in the given network.TaskIterator
NewNetworkSelectedNodesOnlyTaskFactory. createTaskIterator(CyNetwork network)
Returns a TaskIterator that creates a new network from the selected nodes in the given network.TaskIterator
NewSessionTaskFactory. createTaskIterator(boolean destroyCurrentSession)
Creates a task iterator for creating a new session and destroying the current session based on the input. -
Uses of TaskIterator in org.cytoscape.task.edit
Methods in org.cytoscape.task.edit that return TaskIterator Modifier and Type Method Description TaskIterator
EditNetworkTitleTaskFactory. createTaskIterator(CyNetwork network, String title)
Creates a task iterator for editing a network's title.TaskIterator
ImportDataTableTaskFactory. createTaskIterator(CyTableReader reader)
Creates a task iterator for importing a table data in a network data table.TaskIterator
ImportDataTableTaskFactory. createTaskIterator(CyTable globalTable, boolean selectedNetworksOnly, boolean loadToUnassignedTable, List<CyNetwork> networkList, CyRootNetwork rootNetwork, CyColumn targetJoinColumn, Class<? extends CyIdentifiable> tableType)
Creates a task iterator for importing a table data in a network data table.TaskIterator
JoinTablesTaskTaskFactory. createTaskIterator(CyTable globalTable, boolean selectedNetworksOnly, List<CyNetwork> networkList, CyRootNetwork rootNetwork, CyColumn targetJoinColumn, Class<? extends CyIdentifiable> tableType)
TaskIterator
MapGlobalToLocalTableTaskFactory. createTaskIterator(CyTable globalTable, Collection<CyTable> localTables)
Creates a task iterator for mapping a selected global table to a selected local table.TaskIterator
MapTableToNetworkTablesTaskFactory. createTaskIterator(CyTable globalTable, boolean selectedNetworksOnly, List<CyNetwork> networkList, Class<? extends CyIdentifiable> tableType)
TaskIterator
MergeTablesTaskFactory. createTaskIterator(CyTable sourceTable, CyTable targetTable, List<String> sourceColumnsList, String sourceKeyColumn, boolean mergeColumnVirtual, boolean mapToNetworks, boolean selectedNetworksOnly, List<CyNetwork> networkList, CyRootNetwork rootNetwork, CyColumn targetJoinColumn, Class<? extends CyIdentifiable> tableType)
Creates a task iterator for merging two data tables.TaskIterator
RenameColumnTaskFactory. createTaskIterator(CyColumn column, String newColumnName)
Create a task iterator for renaming a selected column. -
Uses of TaskIterator in org.cytoscape.task.hide
Methods in org.cytoscape.task.hide that return TaskIterator Modifier and Type Method Description TaskIterator
HideTaskFactory. createTaskIterator(CyNetworkView view, Collection<CyNode> nodes, Collection<CyEdge> edges)
Creates a task iterator that will hide the given nodes and edges.TaskIterator
UnHideTaskFactory. createTaskIterator(CyNetworkView view, Collection<CyNode> nodes, Collection<CyEdge> edges)
Creates a task iterator that will show the given nodes and edges. -
Uses of TaskIterator in org.cytoscape.task.read
Methods in org.cytoscape.task.read that return TaskIterator Modifier and Type Method Description TaskIterator
LoadMultipleNetworkFilesTaskFactory. createTaskIterator(List<File> files, CyRootNetwork rootNetwork)
Creates a task iterator for loading one or more networks from supported files (e.g.TaskIterator
LoadNetworkFileTaskFactory. createTaskIterator(File file)
Creates a task iterator for loading a network from a file.TaskIterator
LoadNetworkFileTaskFactory. createTaskIterator(File file, TaskObserver observer)
Creates a task iterator for loading a network from a file.TaskIterator
LoadNetworkURLTaskFactory. createTaskIterator(URL url, TaskObserver observer)
Creates a task iterator for loading a URL into a network.TaskIterator
LoadTableFileTaskFactory. createTaskIterator(File file)
Creates the task iterator for importing an attribute file to a table.TaskIterator
LoadTableURLTaskFactory. createTaskIterator(URL url)
Creates the task iterator for importing an attribute file to a table.TaskIterator
LoadVizmapFileTaskFactory. createTaskIterator(File file)
Creates a task iterator for loading files into visual styles.TaskIterator
LoadVizmapFileTaskFactory. createTaskIterator(File file, TaskObserver observer)
Creates a task iterator for loading files into visual styles.TaskIterator
OpenSessionTaskFactory. createTaskIterator(File file)
Creates a task iterator for loading a session from a file.TaskIterator
OpenSessionTaskFactory. createTaskIterator(File file, boolean confirm)
Creates a task iterator for loading a session from a file, with an option to let the user confirm it before disposing the current session if it is not empty.TaskIterator
LoadNetworkURLTaskFactory. loadCyNetworks(URL url)
Creates a task iterator for loading a URL into a network. -
Uses of TaskIterator in org.cytoscape.task.select
Methods in org.cytoscape.task.select that return TaskIterator Modifier and Type Method Description TaskIterator
SelectFromFileListTaskFactory. createTaskIterator(CyNetwork network, File file)
Creates a task iterator for selecting items of a network based on a file. -
Uses of TaskIterator in org.cytoscape.task.write
Methods in org.cytoscape.task.write that return TaskIterator Modifier and Type Method Description TaskIterator
ExportNetworkTaskFactory. createTaskIterator(CyNetwork network, File file)
Creates the task iterator for exporting networks.TaskIterator
ExportNetworkViewTaskFactory. createTaskIterator(CyNetworkView view, File file)
Creates the task iterator for exporting network views.TaskIterator
ExportSelectedNetworkTaskFactory. createTaskIterator(File file)
Creates the task iterator for exporting the selected network.TaskIterator
ExportTableTaskFactory. createTaskIterator(CyTable table, File file)
Returns a task factory that write the specified table to the specified file.TaskIterator
ExportVizmapTaskFactory. createTaskIterator(File file)
Creates a task iterator for exporting the vizmap file.TaskIterator
SaveSessionAsTaskFactory. createTaskIterator(File file)
Creates a task iterator for saving the session in a specified file. -
Uses of TaskIterator in org.cytoscape.view.layout
Methods in org.cytoscape.view.layout that return TaskIterator Modifier and Type Method Description TaskIterator
CyLayoutAlgorithm. createTaskIterator(CyNetworkView networkView, Object layoutContext, Set<View<CyNode>> nodesToLayOut, String layoutAttribute)
Creates a task iterator containing the layout tasks. -
Uses of TaskIterator in org.cytoscape.work
Methods in org.cytoscape.work that return TaskIterator Modifier and Type Method Description TaskIterator
TaskFactory. createTaskIterator()
Returns an iterator containing a sequence ofTask
s.TaskIterator
TunableSetter. createTaskIterator(TaskIterator taskIterator, Map<String,Object> tunableValues)
This method takes as input a TaskIterator and a map of tunable names to tunable values and applies those values to any tunables found in the Tasks found in the TaskIterator.TaskIterator
TunableSetter. createTaskIterator(TaskIterator taskIterator, Map<String,Object> tunableValues, TaskObserver observer)
This version of createTaskIterator adds a TaskObserver argument.TaskIterator
AbstractTask. getTaskIterator()
Methods in org.cytoscape.work with parameters of type TaskIterator Modifier and Type Method Description void
TaskIterator. append(TaskIterator taskIterator)
Adds the tasks in the given TaskIterator to the end of this iterator.TaskIterator
TunableSetter. createTaskIterator(TaskIterator taskIterator, Map<String,Object> tunableValues)
This method takes as input a TaskIterator and a map of tunable names to tunable values and applies those values to any tunables found in the Tasks found in the TaskIterator.TaskIterator
TunableSetter. createTaskIterator(TaskIterator taskIterator, Map<String,Object> tunableValues, TaskObserver observer)
This version of createTaskIterator adds a TaskObserver argument.void
TaskManager. execute(TaskIterator iterator)
void
TaskManager. execute(TaskIterator iterator, TaskObserver observer)
void
TaskIterator. insertTasksAfter(Task referenceTask, TaskIterator newTasks)
Inserts "newTasks" immediately after "referenceTask".protected void
AbstractTask. insertTasksAfterCurrentTask(TaskIterator newTasks)
Inserts "newTasks" after the current Task, in the TaskIterator that is being managed by this class.void
AbstractTask. setTaskIterator(TaskIterator taskIterator)
This method is used by aTaskIterator
to set itself on the newly added Task.
-