public class NodeList extends Object
Module: command-executor-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>command-executor-api</artifactId> </dependency>
Constructor and Description |
---|
NodeList()
Create a new NodeList object with no initial network
|
NodeList(CyNetwork targetNetwork)
Create a new NodeList object with an initial network
|
Modifier and Type | Method and Description |
---|---|
CyNetwork |
getNetwork()
Get the network for this nodelist
|
List<CyNode> |
getValue()
Get the list of nodes
|
void |
setNetwork(CyNetwork network)
Set the network for this nodelist
|
void |
setValue(List<CyNode> nodeList)
Set the list of nodes
|
public NodeList()
public NodeList(CyNetwork targetNetwork)
targetNetwork
- the network this nodelist will be inpublic void setNetwork(CyNetwork network)
network
- the network for this nodelistpublic CyNetwork getNetwork()
public void setValue(List<CyNode> nodeList)
nodeList
- the list of nodesCopyright 2011-2015 Cytoscape Consortium. All rights reserved.