public abstract class AbstractCyNetworkReader extends AbstractTask implements CyNetworkReader
Module: io-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>io-api</artifactId> </dependency>
Modifier and Type | Field and Description |
---|---|
protected CyApplicationManager |
cyApplicationManager |
protected CyNetworkFactory |
cyNetworkFactory
Will be used to create new CySubNetwork if this reader needs to create new CyRootNetwork.
|
protected CyNetworkViewFactory |
cyNetworkViewFactory
Will be used for creating network views.
|
protected InputStream |
inputStream
Data stream for the networks to be created.
|
protected CyNetwork[] |
networks
Array of networks to be returned.
|
cancelled
Constructor and Description |
---|
AbstractCyNetworkReader(InputStream inputStream,
CyApplicationManager cyApplicationManager,
CyNetworkFactory cyNetworkFactory,
CyNetworkManager cyNetworkManager,
CyRootNetworkManager cyRootNetworkManager) |
AbstractCyNetworkReader(InputStream inputStream,
CyNetworkViewFactory cyNetworkViewFactory,
CyNetworkFactory cyNetworkFactory,
CyNetworkManager cyNetworkManager,
CyRootNetworkManager cyRootNetworkManager) |
Modifier and Type | Method and Description |
---|---|
CyNetwork[] |
getNetworks()
Returns an array of networks read after executing the run() method of
Task . |
protected CyNetworkViewFactory |
getNetworkViewFactory() |
ListSingleSelection<NetworkViewRenderer> |
getNetworkViewRendererList() |
protected Map<Object,CyNode> |
getNodeMap()
Returns map from key value to existing CyNode.
|
protected CyRootNetwork |
getRootNetwork()
Get target network collection, i.e., parent root network for all networks
to be loaded.
|
ListSingleSelection<String> |
getRootNetworkList() |
ListSingleSelection<String> |
getTargetColumnList() |
String |
getTitle() |
void |
setNetworkViewRendererList(ListSingleSelection<NetworkViewRenderer> rendererList) |
void |
setRootNetworkList(ListSingleSelection<String> roots) |
void |
setTargetColumnList(ListSingleSelection<String> colList) |
cancel, getTaskIterator, insertTasksAfterCurrentTask, insertTasksAfterCurrentTask, run, setTaskIterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildCyNetworkView
protected InputStream inputStream
protected CyNetwork[] networks
protected final CyNetworkViewFactory cyNetworkViewFactory
protected final CyNetworkFactory cyNetworkFactory
protected CyApplicationManager cyApplicationManager
public AbstractCyNetworkReader(InputStream inputStream, CyApplicationManager cyApplicationManager, CyNetworkFactory cyNetworkFactory, CyNetworkManager cyNetworkManager, CyRootNetworkManager cyRootNetworkManager)
public AbstractCyNetworkReader(InputStream inputStream, CyNetworkViewFactory cyNetworkViewFactory, CyNetworkFactory cyNetworkFactory, CyNetworkManager cyNetworkManager, CyRootNetworkManager cyRootNetworkManager)
public String getTitle()
public ListSingleSelection<String> getRootNetworkList()
public void setRootNetworkList(ListSingleSelection<String> roots)
public ListSingleSelection<String> getTargetColumnList()
public void setTargetColumnList(ListSingleSelection<String> colList)
public ListSingleSelection<NetworkViewRenderer> getNetworkViewRendererList()
public void setNetworkViewRendererList(ListSingleSelection<NetworkViewRenderer> rendererList)
public CyNetwork[] getNetworks()
CyNetworkReader
Task
.getNetworks
in interface CyNetworkReader
Task
.protected final CyRootNetwork getRootNetwork()
protected Map<Object,CyNode> getNodeMap()
protected CyNetworkViewFactory getNetworkViewFactory()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.