Class IsotopeDistributionGui

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
com.compomics.util.gui.isotopic_calculator.IsotopeDistributionGui
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class IsotopeDistributionGui
extends JFrame
This class is a GUI that visualizes the isotopic calculator.

Created by IntelliJ IDEA. User: Niklaas Date: 16-Aug-2010 Time: 13:24:41

See Also:
Serialized Form
  • Constructor Details

    • IsotopeDistributionGui

      public IsotopeDistributionGui​(boolean lStandAlone)
      The constructor
      Parameters:
      lStandAlone - Boolean that indicates if this is a standalone JFrame
  • Method Details

    • calculate

      public void calculate()
      This method will do the calculations
    • getContentPane

      public JPanel getContentPane()
      This methods gives a JPanel holding everything from this frame
      Specified by:
      getContentPane in interface RootPaneContainer
      Overrides:
      getContentPane in class JFrame
      Returns:
      JPanel
    • isElement

      public boolean isElement​(String lElement)
      Method that checks if a given string is an element we can calculate an isotopic distribution for
      Parameters:
      lElement - String with the element to check
      Returns:
      boolean that indicates if we can use this element
    • main

      public static void main​(String[] Args)
      Main method
      Parameters:
      Args - The arguments
    • $$$getRootComponent$$$

      public JComponent $$$getRootComponent$$$()
      Returns the root components.
      Returns:
      the root component