public abstract class AbstractToolBarComponent extends Object implements ToolBarComponent
Module: swing-application-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>swing-application-api</artifactId> </dependency>
Modifier and Type | Field and Description |
---|---|
protected boolean |
isEnabled
Whether the toolbar component is enabled or not.
|
protected float |
toolbarGravity
The gravity for this toolbar component.
|
Constructor and Description |
---|
AbstractToolBarComponent() |
Modifier and Type | Method and Description |
---|---|
float |
getToolBarGravity()
Returns the gravity value for this toolbar component.
|
void |
setToolBarGravity(float gravity)
Sets the gravity for this toolbar component.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponent
protected float toolbarGravity
protected boolean isEnabled
public void setToolBarGravity(float gravity)
gravity
- The gravity for this toolbar component.public float getToolBarGravity()
getToolBarGravity
in interface ToolBarComponent
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.