Class GeneiousActionToolbar.CustomToolbarComponent
java.lang.Object
com.biomatters.geneious.publicapi.components.GeneiousActionToolbar.CustomToolbarComponent
- Enclosing class:
GeneiousActionToolbar
Encapsulates the information necessary for adding a custom component to the toolbar. See
GeneiousActionToolbar.addCustomComponent(com.biomatters.geneious.publicapi.components.GeneiousActionToolbar.CustomToolbarComponent)- Since:
- API 4.600 (Geneious 6.0.0)
-
Constructor Summary
ConstructorsConstructorDescriptionCustomToolbarComponent(String name, JComponent component, double positionInToolbar, boolean floatRight, boolean defaultVisible) Defines custom toolbar component properties -
Method Summary
-
Constructor Details
-
CustomToolbarComponent
public CustomToolbarComponent(String name, JComponent component, double positionInToolbar, boolean floatRight, boolean defaultVisible) Defines custom toolbar component properties- Parameters:
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 toGeneiousActionOptions.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
-