Class ProjectParametersDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class ProjectParametersDialog extends JDialog
A dialog where the user can edit the PeptideShaker preferences.
Author:
Harald Barsnes, Marc Vaudel
See Also:
  • Constructor Details

    • ProjectParametersDialog

      public ProjectParametersDialog(Frame parentFrame, Dialog owner, com.compomics.util.parameters.quantification.spectrum_counting.SpectrumCountingParameters spectrumCountingPreferences, DisplayParameters displayPreferences)
      Creates a new PreferencesDialog with a dialog as owner.
      Parameters:
      parentFrame - the parent frame
      owner - the owner
      spectrumCountingPreferences - the spectrum counting preferences
      displayPreferences - the display preferences
    • ProjectParametersDialog

      public ProjectParametersDialog(Frame parentFrame, com.compomics.util.parameters.quantification.spectrum_counting.SpectrumCountingParameters spectrumCountingPreferences, DisplayParameters displayPreferences)
      Creates a new PreferencesDialog with a frame as owner.
      Parameters:
      parentFrame - the parent frame
      spectrumCountingPreferences - the spectrum counting preferences
      displayPreferences - the display preferences
  • Method Details

    • getDisplayParameters

      public DisplayParameters getDisplayParameters()
      Returns the display preferences.
      Returns:
      the display preferences
    • getSpectrumCountingParameters

      public com.compomics.util.parameters.quantification.spectrum_counting.SpectrumCountingParameters getSpectrumCountingParameters()
      Returns the spectrum counting preferences.
      Returns:
      the spectrum counting preferences
    • isCanceled

      public boolean isCanceled()
      Returns whether the user canceled the edition of the preferences.
      Returns:
      a boolean indicating whether the user canceled the edition of the preferences.