Class FractionParametersDialog

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

public class FractionParametersDialog
extends JDialog
FractionSettingsDialog.
Author:
Marc Vaudel, Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • FractionParametersDialog

      public FractionParametersDialog​(Frame parentFrame, FractionParameters fractionSettings, boolean editable)
      Creates a new FractionSettingsDialog with a frame as owner.
      Parameters:
      parentFrame - a parent frame
      fractionSettings - the fraction settings
      editable - boolean indicating whether the settings can be edited by the user
    • FractionParametersDialog

      public FractionParametersDialog​(Dialog owner, Frame parentFrame, FractionParameters fractionSettings, boolean editable)
      Creates a new FractionSettingsDialog with a dialog as owner.
      Parameters:
      owner - the dialog owner
      parentFrame - a parent frame
      fractionSettings - the fraction settings
      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
    • getFractionSettings

      public FractionParameters getFractionSettings()
      Returns the fraction settings as set by the user.
      Returns:
      the fraction settings as set by the user