Class ExpressionFigure

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.biojava.nbio.survival.kaplanmeier.figure.ExpressionFigure
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ExpressionFigure extends JPanel
Author:
Scooter Willis
See Also:
  • Field Details

    • top

      public int top
    • bottom

      public int bottom
    • left

      public int left
  • Constructor Details

    • ExpressionFigure

      public ExpressionFigure()
  • Method Details

    • getSurvivalInfoList

      public ArrayList<SurvivalInfo> getSurvivalInfoList()
      The data used to draw the graph
      Returns:
    • setKMFigureInfo

      public void setKMFigureInfo(KMFigureInfo kmfi)
      Parameters:
      kmfi -
    • setFigureLineInfo

      public void setFigureLineInfo(ArrayList<String> lineInfoList)
      Parameters:
      lineInfoList -
    • setSurvivalInfo

      public void setSurvivalInfo(ArrayList<String> title, ArrayList<SurvivalInfo> _siList, String variable)
      Parameters:
      title -
      _siList -
      variable -
    • paintComponent

      public void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent
    • getFileName

      public String getFileName()
      Returns:
      the fileName
    • savePNG

      public void savePNG(String fileName)
      Parameters:
      fileName -
    • main

      public static void main(String[] args)
      Parameters:
      args - the command line arguments