public static class GeneiousActionToolbar.CustomToolbarComponent extends Object
GeneiousActionToolbar.addCustomComponent(com.biomatters.geneious.publicapi.components.GeneiousActionToolbar.CustomToolbarComponent)| Constructor and Description |
|---|
GeneiousActionToolbar.CustomToolbarComponent(String name,
JComponent component,
double positionInToolbar,
boolean floatRight,
boolean defaultVisible)
Defines custom toolbar component properties
|
public GeneiousActionToolbar.CustomToolbarComponent(String name, JComponent component, double positionInToolbar, boolean floatRight, boolean defaultVisible)
name - the name of this component which is used for displaying to the user when they can customize the contents of the toolbarcomponent - the component to display in the toolbarpositionInToolbar - the horizontal position in the toolbar, which is compared to GeneiousActionOptions.getMainToolbarPosition(). Higher values are further to the right.floatRight - true to add the button to the right-hand panel rather than the main panel in the toolbar.defaultVisible - true if this component should be visible by default