public interface CySwingApplication
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>
Modifier and Type | Method and Description |
---|---|
void |
addAction(CyAction action)
Add a CyAction to application.
|
CytoPanel |
getCytoPanel(CytoPanelName compassDirection)
Returns the appropriate CytoPanel for the specified compass direction.
|
JFrame |
getJFrame()
Returns the JFrame that contains the application.
|
JMenu |
getJMenu(String menuName)
Returns the JMenu for the specified name and null if no
menu exists for the name.
|
JMenuBar |
getJMenuBar()
Returns the JMenuBar object for the application.
|
JToolBar |
getJToolBar()
Returns the JToolBar object for the application.
|
JToolBar |
getStatusToolBar()
Returns the status JToolBar of the application.
|
void |
removeAction(CyAction action)
Remove the specified CyAction from the application.
|
JMenu getJMenu(String menuName)
menuName
- the name of the JMenu.JMenuBar getJMenuBar()
JToolBar getJToolBar()
void addAction(CyAction action)
action
- The CyAction to be added to the application.void removeAction(CyAction action)
action
- The CyAction to be removed from the application.CytoPanel getCytoPanel(CytoPanelName compassDirection)
compassDirection
- one of the enum values of CytoPanelNameJFrame getJFrame()
JToolBar getStatusToolBar()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.