Class DisplayPreferencesDialog

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
eu.isas.peptideshaker.gui.parameters.DisplayPreferencesDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class DisplayPreferencesDialog extends JDialog
DisplayPreferencesDialog.
Author:
Marc Vaudel, Harald Barsnes
See Also:
  • Constructor Details

    • DisplayPreferencesDialog

      public DisplayPreferencesDialog(Frame parentFrame, DisplayParameters displayPreferences)
      Constructor.
      Parameters:
      parentFrame - a parent frame
      displayPreferences - the display preferences to display
  • 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
    • getDisplayPreferences

      public DisplayParameters getDisplayPreferences()
      Returns the new display preferences as set by the user.
      Returns:
      the new display preferences as set by the user