Class GeneParametersDialog

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.GeneParametersDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class GeneParametersDialog
extends JDialog
Dialog for editing the Gene Mapping Preferences.
Author:
Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • GeneParametersDialog

      public GeneParametersDialog()
      Empty default constructor
    • GeneParametersDialog

      public GeneParametersDialog​(JFrame parentFrame, GeneParameters genePreferences, SearchParameters searchParameters, boolean editable)
      Creates a new GenePreferencesDialog with a frame as owner.
      Parameters:
      parentFrame - the parent frame
      genePreferences - the gene preferences
      searchParameters - the search parameters
      editable - boolean indicating whether the settings can be edited by the user
    • GeneParametersDialog

      public GeneParametersDialog​(JDialog owner, Frame parentFrame, GeneParameters genePreferences, SearchParameters searchParameters, boolean editable)
      Creates a new GenePreferencesDialog with a dialog as owner.
      Parameters:
      owner - the dialog owner
      parentFrame - a parent frame
      genePreferences - the gene preferences
      searchParameters - the search parameters
      editable - boolean indicating whether the settings can be edited by the user
  • 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