Class ProcessingParametersDialog

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
com.compomics.util.gui.parameters.tools.ProcessingParametersDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class ProcessingParametersDialog
extends JDialog
Dialog to edit the processing parameters.
Author:
Marc Vaudel, Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • ProcessingParametersDialog

      public ProcessingParametersDialog()
      Empty default constructor
    • ProcessingParametersDialog

      public ProcessingParametersDialog​(Frame parentFrame, ProcessingParameters processingPreferences, boolean editable)
      Creates a new ProcessingPreferencesDialog with a frame as owner.
      Parameters:
      parentFrame - a parent frame
      processingPreferences - the processing parameters to display
      editable - boolean indicating whether the settings can be edited
    • ProcessingParametersDialog

      public ProcessingParametersDialog​(Dialog owner, Frame parentFrame, ProcessingParameters processingPreferences, boolean editable)
      Creates a new ProcessingPreferencesDialog with a dialog as owner.
      Parameters:
      owner - the dialog owner
      parentFrame - a parent frame
      processingPreferences - the processing parameters to display
      editable - boolean indicating whether the settings can be edited
  • 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
    • getProcessingParameters

      public ProcessingParameters getProcessingParameters()
      Returns the processing parameters as set by the user.
      Returns:
      the processing parameters as set by the user