Class EnzymeParametersDialog

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

public class EnzymeParametersDialog
extends JDialog
Simple dialog for mapping a PRIDE enzyme to a utilities enzyme.
Author:
Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • EnzymeParametersDialog

      public EnzymeParametersDialog()
      Empty default constructor
    • EnzymeParametersDialog

      public EnzymeParametersDialog​(Frame parent, boolean modal, String enzymeName, boolean editable)
      Creates a new EnzymeSelectionDialog with a frame as owner.
      Parameters:
      parent - the parent frame
      modal - if the dialog is to be modal or not
      enzymeName - the PRIDE enzyme name
      editable - boolean indicating whether the settings can be edited by the user
    • EnzymeParametersDialog

      public EnzymeParametersDialog​(Dialog owner, Frame parent, boolean modal, String enzymeName, boolean editable)
      Creates a new EnzymeSelectionDialog with a dialog as owner.
      Parameters:
      owner - the dialog owner
      parent - the parent frame
      modal - if the dialog is to be modal or not
      enzymeName - the PRIDE enzyme name
      editable - boolean indicating whether the settings can be edited by the user
    • EnzymeParametersDialog

      public EnzymeParametersDialog​(JDialog parent, boolean modal, String enzymeName)
      Creates a new EnzymeSelectionDialog.
      Parameters:
      parent - the parent dialog
      modal - if the dialog is to be modal or not
      enzymeName - the PRIDE enzyme name
  • Method Details

    • getEnzyme

      public Enzyme getEnzyme()
      Returns the selected enzyme.
      Returns:
      the selected enzyme