Package org.cytoscape.app.swing
Class AbstractCySwingApp
java.lang.Object
org.cytoscape.app.AbstractCyApp
org.cytoscape.app.swing.AbstractCySwingApp
Deprecated.
(As of Cytoscape 3.7)
Support for simple apps will be removed in a future version
of Cytoscape, please provide an OSGi bundle app instead.
The primary Swing-based app interface for Cytoscape that all
Swing-based apps must extend. This extension to
AbstractCyApp simply provides access to CySwingAppAdapter,
which provides access to Swing specific services. All other
services from CyAppAdapter will still be available.
Cytoscape Backwards Compatibility (Abstract Class): This class is abstract and meant to be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
Module: swing-app-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>swing-app-api</artifactId> </dependency>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CySwingAppAdapter
Deprecated.Reference to access Cytoscape functionality -- various managers and factories that are normally available as OSGi services.Fields inherited from class org.cytoscape.app.AbstractCyApp
adapter
-
Constructor Summary
ConstructorDescriptionAbstractCySwingApp
(CySwingAppAdapter swingAdapter) Deprecated.The constructor that all apps must call using "super(adapter);" where the "adapter" is aCySwingAppAdapter
reference provided as an argument to the constructor. -
Method Summary
-
Field Details
-
swingAdapter
Deprecated.Reference to access Cytoscape functionality -- various managers and factories that are normally available as OSGi services.
-
-
Constructor Details
-
AbstractCySwingApp
Deprecated.The constructor that all apps must call using "super(adapter);" where the "adapter" is aCySwingAppAdapter
reference provided as an argument to the constructor. Cytoscape's app loader will execute the constructor and provide the proper CySwingAppAdapter reference.
public class MySwingApp extends AbstractCySwingApp { public MySwingApp(CySwingAppAdapter adapter) { super(adapter); // app code here } }
- Parameters:
adapter
- aCySwingAppAdapter
reference provided as an argument to the constructor.
-