public class EdgeList extends Object
public EdgeList edgeList = new EdgeList(null); @Tunable(description="Edges to select", context="nogui") public EdgeList getedgeList() { edgeList.setNetwork(network); // This assumes the network is // made available via some other mechanism return edgeList; } public void setedgeList(EdgeList setValue) {}
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 |
---|
EdgeList()
Empty constructor for an EdgeList.
|
EdgeList(CyNetwork targetNetwork)
Constructor for EdgeList when the network is known
at time of creation.
|
Modifier and Type | Method and Description |
---|---|
CyNetwork |
getNetwork()
Return the network used by this EdgeList
|
List<CyEdge> |
getValue()
Return the edgeList for this tunable
|
void |
setNetwork(CyNetwork network)
Set the network to be used by this EdgeList
|
void |
setValue(List<CyEdge> edgeList)
Set the edgeList for this tunable
|
public EdgeList()
public EdgeList(CyNetwork targetNetwork)
targetNetwork
- the network for the edges to be returnedpublic void setNetwork(CyNetwork network)
network
- the network to use for finding the edgespublic CyNetwork getNetwork()
public void setValue(List<CyEdge> edgeList)
edgeList
- the list of edgesCopyright 2011-2015 Cytoscape Consortium. All rights reserved.