|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.command.util.EdgeList
public class EdgeList
This class implements a wrapper for a List of CyEdges that can be used by the Tunables mechanism. Currently, it is only implemented by command tunables so it will be ignored in GUI (Swing) contexts. A typical use might look like:
public EdgeList edgeList = new EdgeList(null);
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 Summary | |
---|---|
EdgeList()
Empty constructor for an EdgeList. |
|
EdgeList(CyNetwork targetNetwork)
Constructor for EdgeList when the network is known at time of creation. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EdgeList()
public EdgeList(CyNetwork targetNetwork)
targetNetwork
- the network for the edges to be returnedMethod Detail |
---|
public 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 edgespublic List<CyEdge> getValue()
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |