Class ValidationQCParametersDialog

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

public class ValidationQCParametersDialog
extends JDialog
Dialog for the edition of validation QC filters.
Author:
Marc Vaudel
See Also:
Serialized Form
  • Constructor Details

    • ValidationQCParametersDialog

      public ValidationQCParametersDialog()
      Empty default constructor
    • ValidationQCParametersDialog

      public ValidationQCParametersDialog​(Frame parentFrame, ValidationQcParameters validationQCPreferences, ArrayList<String> allModifications, boolean editable)
      Creates a new ValidationQCPreferencesDialog with a frame as owner.
      Parameters:
      parentFrame - the parent frame
      validationQCPreferences - the validation QC preferences
      allModifications - all the modifications that can be used for filtering
      editable - boolean indicating whether the settings can be edited by the user
    • ValidationQCParametersDialog

      public ValidationQCParametersDialog​(Dialog owner, Frame parentFrame, ValidationQcParameters validationQCPreferences, ArrayList<String> allModifications, boolean editable)
      Creates a new ValidationQCPreferencesDialog with a dialog as owner.
      Parameters:
      owner - the dialog owner
      parentFrame - the parent frame
      validationQCPreferences - the validation QC preferences
      allModifications - all the modifications that can be used for filtering
      editable - boolean indicating whether the settings can be edited by the user
  • Method Details

    • isCanceled

      public boolean isCanceled()
      Indicates whether the preference edition was canceled by the user.
      Returns:
      a boolean indicating whether the preference edition was canceled by the user
    • getValidationQCParameters

      public ValidationQcParameters getValidationQCParameters()
      Returns the validation QC preferences as set by the user.
      Returns:
      the validation QC preferences as set by the user
    • createPsmFilter

      public Filter createPsmFilter()
      Creates a new PSM filter.
      Returns:
      the new filter, null if canceled
    • createPeptideFilter

      public Filter createPeptideFilter()
      Creates a new peptide filter.
      Returns:
      the new filter, null if canceled
    • createProteinFilter

      public Filter createProteinFilter()
      Creates a new protein filter.
      Returns:
      the new filter, null if canceled
    • editFilter

      public Filter editFilter​(Filter filter)
      Edits the given filter.
      Parameters:
      filter - the filter to edit
      Returns:
      the updated filter, null if canceled