Cytoscape 3.0.0-alpha8-SNAPSHOT API

org.cytoscape.task.vizmap
Interface ApplyVisualStyleTaskFactory

All Superinterfaces:
NetworkViewTaskFactory

public interface ApplyVisualStyleTaskFactory
extends NetworkViewTaskFactory

This interface provides a task iterator for applying a visual style.

Author:
rozagh

Method Summary
 TaskIterator createTaskIterator(CyNetworkView networkView, ListSingleSelection<VisualStyle> styles)
          Creates a task iterator for applying a visual style on a network view.
 
Methods inherited from interface org.cytoscape.task.NetworkViewTaskFactory
createTaskIterator, isReady
 

Method Detail

createTaskIterator

TaskIterator createTaskIterator(CyNetworkView networkView,
                                ListSingleSelection<VisualStyle> styles)
Creates a task iterator for applying a visual style on a network view. The created task will run synchronously in the current thread and will not create a task monitor.

Parameters:
networkView - The network view to apply the visual style on.
styles - The set of visual styles.
Returns:
a task iterator of type TaskIterator.

Cytoscape 3.0.0-alpha8-SNAPSHOT API

Copyright 2011 Cytoscape Consortium. All rights reserved.