Interface IconManager


public interface IconManager
Interface that provides constants for simple icons that can be used by Cytoscape and third party apps in order to create a more consistent GUI.
The icons are provided by Font Awesome
These icons are set as text (not images) to buttons, labels, etc. So always set the ICON constant as text and the font provided by getIconFont(float) to the UI component.
Example:
JButton button = new JButton(IconManager.ICON_CAMERA); button.setFont(cyServiceRegistrar.getService(IconManager.class).getIconFont(14.0f));

Module: swing-util-api

To use this in your app, include the following dependency in your POM:

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>swing-util-api</artifactId>
</dependency>

Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.