Class GeneiousActionToolbar.CustomToolbarComponent
- java.lang.Object
-
- com.biomatters.geneious.publicapi.components.GeneiousActionToolbar.CustomToolbarComponent
-
- Enclosing class:
- GeneiousActionToolbar
public static class GeneiousActionToolbar.CustomToolbarComponent extends java.lang.ObjectEncapsulates the information necessary for adding a custom component to the toolbar. SeeGeneiousActionToolbar.addCustomComponent(com.biomatters.geneious.publicapi.components.GeneiousActionToolbar.CustomToolbarComponent)- Since:
- API 4.600 (Geneious 6.0.0)
-
-
Constructor Summary
Constructors Constructor Description CustomToolbarComponent(java.lang.String name, javax.swing.JComponent component, double positionInToolbar, boolean floatRight, boolean defaultVisible)Defines custom toolbar component properties
-
-
-
Constructor Detail
-
CustomToolbarComponent
public CustomToolbarComponent(java.lang.String name, javax.swing.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
-
-