Class AminoAcidPatternDialog

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

public class AminoAcidPatternDialog
extends JDialog
This dialog allows the design and test of amino acid patterns. (see class com.compomics.util.experiment.biology.AminoAcidPattern)
Author:
Marc Vaudel, Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • AminoAcidPatternDialog

      public AminoAcidPatternDialog​(Frame parent, AminoAcidPattern pattern, boolean editable)
      Creates a new AminoAcidPatternDialog.
      Parameters:
      parent - the parent frame
      pattern - the amino acid pattern object
      editable - if the pattern is editable or not
  • Method Details

    • getPattern

      public AminoAcidPattern getPattern()
      Returns the pattern as edited by the user.
      Returns:
      the pattern as edited by the user
    • isCanceled

      public boolean isCanceled()
      indicates whether the changes have been canceled
      Returns:
      a boolean indicating whether the changes have been canceled