|
Cytoscape 3.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CyNetworkFactory
A singleton factory object used for instantiating CyNetwork objects. The CyNetworkFactory should be available as an OSGi service.
Method Summary | |
---|---|
CyNetwork |
createNetwork()
Returns a new, empty CyNetwork object. |
CyNetwork |
createNetwork(SavePolicy policy)
Returns a new, empty CyNetwork object. |
CyNetwork |
createNetworkWithPrivateTables()
Returns a new, empty CyNetwork object where the associated default tables are private. |
CyNetwork |
createNetworkWithPrivateTables(SavePolicy policy)
Returns a new, empty CyNetwork object where the associated default tables are private. |
Method Detail |
---|
CyNetwork createNetwork()
CyNetwork
object.
The new network's save policy is SavePolicy.SESSION_FILE
by default.
If you want to create a network that should not be saved in session files, use
the createNetwork(SavePolicy)
method instead, and set the save policy to SavePolicy.DO_NOT_SAVE
.
CyNetwork
object.CyNetwork createNetwork(SavePolicy policy)
CyNetwork
object.
policy
- the save policy to follow during the life-cycle of the CyNetwork.
CyNetwork
object.CyNetwork createNetworkWithPrivateTables()
CyNetwork
object where the associated default tables are private.
This method should only be used in special cases where the network created is not intended to
be used or shared like a normal network within the system.
The new network's save policy is SavePolicy.SESSION_FILE
by default.
If you want to create a network that should not be saved in session files, use
the createNetwork(SavePolicy)
method instead, and set the save policy to SavePolicy.DO_NOT_SAVE
.
CyNetwork
object.CyNetwork createNetworkWithPrivateTables(SavePolicy policy)
CyNetwork
object where the associated default tables are private.
This method should only be used in special cases where the network created is not intended to
be used or shared like a normal network within the system.
policy
- the save policy to follow during the life-cycle of the CyNetwork.
CyNetwork
object.
|
Cytoscape 3.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |