|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CyNodeViewContextMenuFactory
A factory interface used to produce a CyMenuItem (JMenuItem) that will be added to the context menu for the specified node view.
Module: swing-application-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>swing-application-api</artifactId> </dependency>
Method Summary | |
---|---|
CyMenuItem |
createMenuItem(CyNetworkView netView,
View<CyNode> nodeView)
This method should return a CyMenuItem to be added to the context menu of the specified node view. |
Method Detail |
---|
CyMenuItem createMenuItem(CyNetworkView netView, View<CyNode> nodeView)
netView
- The CyNetworkView containing the node view in question.nodeView
- The View<CyNode> whose menu will be updated with the
returned CyMenuItem.
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |