|
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.NodeList
public class NodeList
This class implements a wrapper for a List of CyNodes 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:
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 | |
|---|---|
NodeList()
Create a new NodeList object with no initial network |
|
NodeList(CyNetwork targetNetwork)
Create a new NodeList object with an initial network |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeList()
public NodeList(CyNetwork targetNetwork)
targetNetwork - the network this nodelist will be in| Method Detail |
|---|
public void setNetwork(CyNetwork network)
network - the network for this nodelistpublic CyNetwork getNetwork()
public void setValue(List<CyNode> nodeList)
nodeList - the list of nodespublic List<CyNode> getValue()
|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||