Cytoscape 3.0.0-alpha8-SNAPSHOT API

org.cytoscape.task
Interface NetworkViewLocationTaskFactory

All Known Implementing Classes:
AbstractNetworkViewLocationTaskFactory

public interface NetworkViewLocationTaskFactory

An extension of TaskFactory that provides support for tasks to deal with adding node and endge by right click menue.


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.

Method Summary
 TaskIterator createTaskIterator(CyNetworkView networkView, Point2D javaPt, Point2D xformPt)
          Sets the drop information for a TaskFactory.
 boolean isReady(CyNetworkView networkView, Point2D javaPt, Point2D xformPt)
           
 

Method Detail

createTaskIterator

TaskIterator createTaskIterator(CyNetworkView networkView,
                                Point2D javaPt,
                                Point2D xformPt)
Sets the drop information for a TaskFactory.

Parameters:
t - The transferable object that was dropped.
javaPt - The raw Java point at which the object was dropped.
xformPt - The drop point transformed into Cytoscape coordinates.

isReady

boolean isReady(CyNetworkView networkView,
                Point2D javaPt,
                Point2D xformPt)

Cytoscape 3.0.0-alpha8-SNAPSHOT API

Copyright 2011 Cytoscape Consortium. All rights reserved.