Class ValidationParametersDialog

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

public class ValidationParametersDialog
extends JDialog
Dialog for the edition of the sequence matching settings
Author:
Marc Vaudel, Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • ValidationParametersDialog

      public ValidationParametersDialog()
      Empty default constructor
    • ValidationParametersDialog

      public ValidationParametersDialog​(Frame parentFrame, IdMatchValidationParameters idMatchValidationPreferences, boolean editable)
      Creates a new ValidationSettingsDialog with a frame as owner.
      Parameters:
      parentFrame - a parent frame
      idMatchValidationPreferences - the validation preferences to display
      editable - boolean indicating whether the settings can be edited by the user
    • ValidationParametersDialog

      public ValidationParametersDialog​(Dialog owner, Frame parentFrame, IdMatchValidationParameters idMatchValidationPreferences, boolean editable)
      Creates a new ValidationSettingsDialog with a dialog as owner.
      Parameters:
      owner - the dialog owner
      parentFrame - a parent frame
      idMatchValidationPreferences - the validation 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
    • getIdMatchValidationPreferences

      public IdMatchValidationParameters getIdMatchValidationPreferences()
      Returns the validation settings as set by the user.
      Returns:
      the validation settings as set by the user
    • validateInput

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