Cytoscape 3.0.1 API

org.cytoscape.application.swing
Interface ToolBarComponent

All Known Implementing Classes:
AbstractToolBarComponent

public interface ToolBarComponent

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


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 ToolBar.
 float getToolBarGravity()
          Returns the gravity used to place this component in the toolbar.
 

Method Detail

getToolBarGravity

float getToolBarGravity()
Returns the gravity used to place this component in the toolbar.

Returns:
The gravity used to place this component in the toolbar.

getComponent

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

Returns:
The Component to be added to the ToolBar.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.