Class ModificationLocalizationParametersDialog

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

public class ModificationLocalizationParametersDialog
extends JDialog
PTMLocalizationParametersDialog.
Author:
Marc Vaudel, Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • ModificationLocalizationParametersDialog

      public ModificationLocalizationParametersDialog()
      Empty default constructor
    • ModificationLocalizationParametersDialog

      public ModificationLocalizationParametersDialog​(Frame parentFrame, ModificationLocalizationParameters ptmScoringPreferences, boolean editable)
      Creates a new PTMLocalizationParametersDialog with a frame as owner.
      Parameters:
      parentFrame - a parent frame
      ptmScoringPreferences - the PTM scoring preferences to display
      editable - boolean indicating whether the settings can be edited by the user
    • ModificationLocalizationParametersDialog

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

    • isCanceled

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

      public boolean validateInput()
      Validates the user input.
      Returns:
      a boolean indicating whether the user input is valid
    • getPtmScoringPreferences

      public ModificationLocalizationParameters getPtmScoringPreferences()
      Returns the PTM scoring preferences as set by the user.
      Returns:
      the PTM scoring preferences as set by the user