Class PsmScoringParametersDialog

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

public class PsmScoringParametersDialog
extends JDialog
Dialog for the edition of the PSM scoring settings.
Author:
Marc Vaudel
See Also:
Serialized Form
  • Constructor Details

    • PsmScoringParametersDialog

      public PsmScoringParametersDialog()
      Empty default constructor
    • PsmScoringParametersDialog

      public PsmScoringParametersDialog​(Frame parentFrame, PsmScoringParameters psmScoringPreferences, boolean editable)
      Creates a new PsmScoringSettingsDialog with a frame as owner.
      Parameters:
      parentFrame - a parent frame
      psmScoringPreferences - the scoring preferences to display
      editable - boolean indicating whether the settings can be edited by the user
    • PsmScoringParametersDialog

      public PsmScoringParametersDialog​(Dialog owner, Frame parentFrame, PsmScoringParameters psmScoringPreferences, boolean editable)
      Creates a new PsmScoringSettingsDialog with a dialog as owner.
      Parameters:
      owner - the dialog owner
      parentFrame - a parent frame
      psmScoringPreferences - the scoring preferences to display
      editable - boolean indicating whether the settings can be edited by the user
  • Method Details

    • getPsmScoringPreferences

      public PsmScoringParameters getPsmScoringPreferences()
      Returns the PSM scoring preferences as set by the user.
      Returns:
      the PSM scoring preferences as set by the user
    • isCanceled

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