Class BackgroundSpeciesDialog

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
com.compomics.util.gui.parameters.identification.advanced.BackgroundSpeciesDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class BackgroundSpeciesDialog
extends JDialog
Dialog for editing the background species.
Author:
Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • BackgroundSpeciesDialog

      public BackgroundSpeciesDialog()
      Empty default constructor
    • BackgroundSpeciesDialog

      public BackgroundSpeciesDialog​(JFrame parentFrame, GeneParameters genePreferences, FastaSummary fastaSummary)
      Creates a new GenePreferencesDialog with a frame as owner.
      Parameters:
      parentFrame - the parent frame
      genePreferences - the gene preferences
      fastaSummary - the FASTA summary
    • BackgroundSpeciesDialog

      public BackgroundSpeciesDialog​(JDialog owner, Frame parentFrame, GeneParameters genePreferences, FastaSummary fastaSummary)
      Creates a new GenePreferencesDialog with a dialog as owner.
      Parameters:
      owner - the dialog owner
      parentFrame - a parent frame
      genePreferences - the gene preferences
      fastaSummary - the FASTA summary
  • Method Details

    • getGeneParameters

      public GeneParameters getGeneParameters()
      Returns the gene preferences.
      Returns:
      the gene preferences
    • isCanceled

      public boolean isCanceled()
      Indicates whether the user canceled the editing.
      Returns:
      a boolean indicating whether the user canceled the editing