Class GeneiousActionToolbar.CustomToolbarComponent

java.lang.Object
com.biomatters.geneious.publicapi.components.GeneiousActionToolbar.CustomToolbarComponent
Enclosing class:
GeneiousActionToolbar

public static class GeneiousActionToolbar.CustomToolbarComponent extends Object
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 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 toolbar
      component - the component to display in the toolbar
      positionInToolbar - 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