|
Cytoscape 3.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CyApplicationManager
Basic access to current and/or currently selected networks, views and rendering engines in an instance of Cytoscape.
Method Summary | |
---|---|
CyNetwork |
getCurrentNetwork()
Provides access to the current network. |
CyNetworkView |
getCurrentNetworkView()
Returns the current network view. |
RenderingEngine<CyNetwork> |
getCurrentRenderingEngine()
Returns the rendering engine associated with the current network view. |
CyTable |
getCurrentTable()
Returns the currently active table. |
List<CyNetwork> |
getSelectedNetworks()
Returns the list of selected networks. |
List<CyNetworkView> |
getSelectedNetworkViews()
Returns the list of selected network views. |
void |
reset()
Releases all currently held references and resources. |
void |
setCurrentNetwork(CyNetwork net)
Sets the current network to the specified network. |
void |
setCurrentNetworkView(CyNetworkView netView)
Sets the current network view to the specified network view. |
void |
setCurrentRenderingEngine(RenderingEngine<CyNetwork> engine)
Sets the current rendering engine. |
void |
setCurrentTable(CyTable table)
Sets the currently active table. |
void |
setSelectedNetworks(List<CyNetwork> nets)
Sets the networks specified as selected. |
void |
setSelectedNetworkViews(List<CyNetworkView> views)
Sets the specified network views as selected. |
Method Detail |
---|
CyNetwork getCurrentNetwork()
void setCurrentNetwork(CyNetwork net)
SetCurrentNetworkEvent
is fired.
If the passed network is not yet selected, any selected networks are unselected before the passed
one is selected. That means that the SetSelectedNetworksEvent
can also be fired.
net
- The network that will become the current network.CyNetworkView getCurrentNetworkView()
void setCurrentNetworkView(CyNetworkView netView)
netView
- The network view to become the current network view.List<CyNetwork> getSelectedNetworks()
List<CyNetworkView> getSelectedNetworkViews()
void setSelectedNetworkViews(List<CyNetworkView> views)
views
- The list of network views to be selected.void setSelectedNetworks(List<CyNetwork> nets)
nets
- The networks to be selected.RenderingEngine<CyNetwork> getCurrentRenderingEngine()
void setCurrentRenderingEngine(RenderingEngine<CyNetwork> engine)
engine
- The rendering engine that should be made current.CyTable getCurrentTable()
CyTable
.void setCurrentTable(CyTable table)
table
- The table that should be made current.void reset()
|
Cytoscape 3.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |