public class NodeViewLink extends Object
Constructor and Description |
---|
NodeViewLink(org.cytoscape.view.model.View<org.cytoscape.model.CyNode> targetNodeView,
org.cytoscape.view.model.CyNetworkView targetNetworkView,
org.cytoscape.model.CyNetwork targetnetwork,
org.cytoscape.model.CyNode targetnode,
org.cytoscape.model.CyNetwork sourceNetwork)
Default Constructor to Combine the
View of a target CyNode wth the respective CyNetwork , CyNetworkView and the CyNode |
Modifier and Type | Method and Description |
---|---|
org.cytoscape.view.model.View<org.cytoscape.model.CyNode> |
getNodeView()
Get the View of the Node
|
org.cytoscape.model.CyNetwork |
getSourceNetwork()
Get the source
CyNetwork |
org.cytoscape.model.CyNetwork |
getTargetNetwork()
Get the target
CyNetwork |
org.cytoscape.view.model.CyNetworkView |
getTargetNetworkView()
Get the Target
CyNetworkView for this Link. |
org.cytoscape.model.CyNode |
getTargetNode()
Get the CyNode
|
void |
setTargetNetworkView(org.cytoscape.view.model.CyNetworkView networkView)
Set the target
CyNetworkView for the node of this Link. |
void |
setTargetNodeView(org.cytoscape.view.model.View<org.cytoscape.model.CyNode> nodeView)
Set the target
View for the node of this Link. |
public NodeViewLink(org.cytoscape.view.model.View<org.cytoscape.model.CyNode> targetNodeView, org.cytoscape.view.model.CyNetworkView targetNetworkView, org.cytoscape.model.CyNetwork targetnetwork, org.cytoscape.model.CyNode targetnode, org.cytoscape.model.CyNetwork sourceNetwork)
View
of a target CyNode
wth the respective CyNetwork
, CyNetworkView
and the CyNode
targetNodeView
- the NOdeView this link targetstargetNetworkView
- the NetworkView this link targetstargetnetwork
- the Target CyNetwork
targetnode
- the Target CyNode
sourceNetwork
- the Network this Link comes from.public org.cytoscape.view.model.View<org.cytoscape.model.CyNode> getNodeView()
View
of the target nodepublic org.cytoscape.model.CyNode getTargetNode()
CyNode
public org.cytoscape.model.CyNetwork getTargetNetwork()
CyNetwork
CyNetwork
public org.cytoscape.model.CyNetwork getSourceNetwork()
CyNetwork
CyNetwork
public void setTargetNodeView(org.cytoscape.view.model.View<org.cytoscape.model.CyNode> nodeView)
View
for the node of this Link.nodeView
- the nodeView to set the current viewpoint to.public void setTargetNetworkView(org.cytoscape.view.model.CyNetworkView networkView)
CyNetworkView
for the node of this Link.networkView
- the CyNetworkView
to set the current viewpoint to.public org.cytoscape.view.model.CyNetworkView getTargetNetworkView()
CyNetworkView
for this Link.CyNetworkView
Copyright © 2018. All rights reserved.