Class PopulationDisplay

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class PopulationDisplay extends JPanel
See Also:
  • Field Details

    • viewer

      NMR_Viewer viewer
    • frameNumber

      int frameNumber
    • storedFrameNumber

      int storedFrameNumber
    • population

      double[] population
    • imaxp

      int imaxp
    • maxp

      double maxp
    • label

      JLabel label
    • field

      JTextField field
    • populationFrames

      JCheckBox populationFrames
  • Constructor Details

    • PopulationDisplay

      public PopulationDisplay(NMR_Viewer viewer)
      Constructor
      Parameters:
      viewer - the NMRViewer in which the animation will take place (?)
  • Method Details

    • populationFramesActionPerformed

      private void populationFramesActionPerformed(ActionEvent evt)
    • getColourString

      private String getColourString(double p)
    • setFrameNumberFromViewer

      public void setFrameNumberFromViewer(int number)
    • getFrameNumber

      public int getFrameNumber()
    • getLabelText

      private String getLabelText()
    • addPopulation

      public void addPopulation(double[] population)
    • getPopulation

      public double[] getPopulation()