Cytoscape 3.0.1 API

org.cytoscape.application.swing
Class AbstractToolBarComponent

java.lang.Object
  extended by org.cytoscape.application.swing.AbstractToolBarComponent
All Implemented Interfaces:
ToolBarComponent

public abstract class AbstractToolBarComponent
extends Object
implements ToolBarComponent

An abstract, convenience implementation of ToolBarComponent.


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.

Field Summary
protected  boolean isEnabled
          Whether the toolbar component is enabled or not.
protected  float toolbarGravity
          The gravity for this toolbar component.
 
Constructor Summary
AbstractToolBarComponent()
           
 
Method Summary
 float getToolBarGravity()
          Returns the gravity value for this toolbar component.
 void setToolBarGravity(float gravity)
          Sets the gravity for this toolbar component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cytoscape.application.swing.ToolBarComponent
getComponent
 

Field Detail

toolbarGravity

protected float toolbarGravity
The gravity for this toolbar component.


isEnabled

protected boolean isEnabled
Whether the toolbar component is enabled or not.

Constructor Detail

AbstractToolBarComponent

public AbstractToolBarComponent()
Method Detail

setToolBarGravity

public void setToolBarGravity(float gravity)
Sets the gravity for this toolbar component.

Parameters:
gravity - The gravity for this toolbar component.

getToolBarGravity

public float getToolBarGravity()
Returns the gravity value for this toolbar component.

Specified by:
getToolBarGravity in interface ToolBarComponent
Returns:
the gravity value for this toolbar component.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.