Class ProteinInferenceParametersDialog

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

public class ProteinInferenceParametersDialog
extends JDialog
Dialog for the edition of the protein inference settings.
Author:
Marc Vaudel, Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • ProteinInferenceParametersDialog

      public ProteinInferenceParametersDialog()
      Empty default constructor
    • ProteinInferenceParametersDialog

      public ProteinInferenceParametersDialog​(Frame parentFrame, ProteinInferenceParameters proteinInferencePreferences, Image normalIcon, Image waitingIcon, boolean editable)
      Creates a new ProteinInferenceSettingsDialog with a frame as owner.
      Parameters:
      parentFrame - a parent frame
      proteinInferencePreferences - the protein inference settings to display
      normalIcon - the normal dialog icon
      waitingIcon - the waiting dialog icon
      editable - boolean indicating whether the settings can be edited by the user
    • ProteinInferenceParametersDialog

      public ProteinInferenceParametersDialog​(Dialog owner, Frame parentFrame, ProteinInferenceParameters proteinInferencePreferences, Image normalIcon, Image waitingIcon, boolean editable)
      Creates a new ProteinInferenceSettingsDialog with a dialog as owner.
      Parameters:
      owner - the dialog owner
      parentFrame - a parent frame
      proteinInferencePreferences - the protein inference settings to display
      normalIcon - the normal dialog icon
      waitingIcon - the waiting dialog icon
      editable - boolean indicating whether the settings can be edited by the user
  • Method Details

    • getProteinInferencePreferences

      public ProteinInferenceParameters getProteinInferencePreferences()
      Returns the protein inference preferences.
      Returns:
      the protein inference preferences
    • isCanceled

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