halo.userinterface.gui.graphhandler
Class GraphHandler

java.lang.Object
  extended by halo.userinterface.gui.graphhandler.GraphHandler

public class GraphHandler
extends java.lang.Object

Provides methods for the generation and handling of graphs created with JFreeChart.

Author:
Stefanie Kaufmann

Constructor Summary
GraphHandler()
           
 
Method Summary
static void plotHalfLifeHisto(java.util.List<HalfLife> lives, java.util.List<java.lang.Double> time, java.awt.Frame gui)
          plots half-lives as histograms, each half-life calculation in one graph
static XYGraphConstructor plotNormalization(Normalization norm, Data data)
          Generates the plot for normalization
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphHandler

public GraphHandler()
Method Detail

plotNormalization

public static XYGraphConstructor plotNormalization(Normalization norm,
                                                   Data data)
Generates the plot for normalization

Parameters:
norm - The normalization object
data - The raw data
Returns:
The constructor for the graph

plotHalfLifeHisto

public static void plotHalfLifeHisto(java.util.List<HalfLife> lives,
                                     java.util.List<java.lang.Double> time,
                                     java.awt.Frame gui)
plots half-lives as histograms, each half-life calculation in one graph

Parameters:
lives - List of half-life calculations
time - List of corresponding labeling times
gui - Parent frame