Cytoscape 3.0.1 API

org.cytoscape.application.swing
Interface CytoPanelComponent


public interface CytoPanelComponent

An interface that allows a component to be registered as a service that will then be added to the appropriate CytoPanel.


Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.

Method Summary
 Component getComponent()
          Returns the Component to be added to the CytoPanel.
 CytoPanelName getCytoPanelName()
          Returns the name of the CytoPanel that this component should be added to.
 Icon getIcon()
          Returns the Icon to be used along with the title in the tab for this this component.
 String getTitle()
          Returns the title of the tab within the CytoPanel for this component.
 

Method Detail

getComponent

Component getComponent()
Returns the Component to be added to the CytoPanel.

Returns:
The Component to be added to the CytoPanel.

getCytoPanelName

CytoPanelName getCytoPanelName()
Returns the name of the CytoPanel that this component should be added to.

Returns:
the name of the CytoPanel that this component should be added to.

getTitle

String getTitle()
Returns the title of the tab within the CytoPanel for this component.

Returns:
the title of the tab within the CytoPanel for this component.

getIcon

Icon getIcon()
Returns the Icon to be used along with the title in the tab for this this component. May be null!

Returns:
the Icon to be used along with the title in the tab for this this component. May be null!

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.