|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CyNetworkManager
Basic access to networks and view in an instance of Cytoscape.
Module: model-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>model-api</artifactId> </dependency>
Method Summary | |
---|---|
void |
addNetwork(CyNetwork network)
Registers a network with the network manager. |
void |
destroyNetwork(CyNetwork network)
Destroys a network. |
CyNetwork |
getNetwork(long id)
Returns the network corresponding to the provided ID |
Set<CyNetwork> |
getNetworkSet()
Provides the set of all the networks known to the network manager. |
boolean |
networkExists(long networkId)
Tests whether a network has been registered with the network manager or not. |
void |
reset()
Releases all currently held references and resources. |
Method Detail |
---|
Set<CyNetwork> getNetworkSet()
CyNetwork getNetwork(long id)
id
- an ID for an existing network
boolean networkExists(long networkId)
networkId
- possibly the ID of a network
void destroyNetwork(CyNetwork network)
network
- a non-null reference to a CyNetwork
void addNetwork(CyNetwork network)
network
- a non-null CyNetwork
void reset()
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |