fr.ens.transcriptome.doelan
Class DoelanChart

java.lang.Object
  extended byfr.ens.transcriptome.doelan.DoelanChart

public class DoelanChart
extends java.lang.Object

This class allow to generate a plot.

Author:
Laurent Jourdren

Constructor Summary
DoelanChart()
           
 
Method Summary
 int getBins()
          Set the number of bins
 double[] getData()
          Get the data to plot
 int getHeight()
          Get the height of the image.
 java.lang.String getHistCaption()
          Get the caption of the histogram
 java.awt.Image getImage()
          Get the image
 double getThreshold()
          Get the value of the threshold.
 java.lang.String getTitle()
          Set the title of the plot.
 int getWidth()
          Get the width of the image.
 java.lang.String getXAxisLegend()
          Get the x axis legend
 java.lang.String getYAxisLegend()
          Get the y axis legend
 boolean isThresholdCaptionRight()
          Test if the position of the caption for the threshold is on the right.
 boolean isYLogAxis()
          Test if the Y axis is in log scale
 void setBins(int bins)
          Set the number of bins
 void setData(double[] data)
          set the data
 void setHeight(int height)
          Set the height of the image.
 void setHistCaption(java.lang.String histCaption)
          Set the histogram caption
 void setThreshold(double threshold)
          Set the threshold
 void setThresholdCaptionRight(boolean thresholdCaptionRight)
          Set the position of the caption for the threshold.
 void setTitle(java.lang.String title)
          Set the title of the plot.
 void setWidth(int width)
          Set the width of the image.
 void setXAxisLegend(java.lang.String axisLegend)
          Set the x axis legend
 void setYAxisLegend(java.lang.String axisLegend)
          Get the y axis legend
 void setYLogAxis(boolean logAxis)
          Set the log scale for the y axis
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoelanChart

public DoelanChart()
Method Detail

getBins

public int getBins()
Set the number of bins

Returns:
Returns the bins

getData

public double[] getData()
Get the data to plot

Returns:
Returns the data

getTitle

public java.lang.String getTitle()
Set the title of the plot.

Returns:
Returns the title

getThreshold

public double getThreshold()
Get the value of the threshold.

Returns:
Returns the threshold

isThresholdCaptionRight

public boolean isThresholdCaptionRight()
Test if the position of the caption for the threshold is on the right.

Returns:
Returns the thresholdCaptionRight

getHistCaption

public java.lang.String getHistCaption()
Get the caption of the histogram

Returns:
Returns the histCaption

getXAxisLegend

public java.lang.String getXAxisLegend()
Get the x axis legend

Returns:
Returns the xAxisLegend

getYAxisLegend

public java.lang.String getYAxisLegend()
Get the y axis legend

Returns:
Returns the yAxisLegend

getHeight

public int getHeight()
Get the height of the image.

Returns:
Returns the height

getWidth

public int getWidth()
Get the width of the image.

Returns:
Returns the width

setHeight

public void setHeight(int height)
Set the height of the image.

Parameters:
height - The height to set

setWidth

public void setWidth(int width)
Set the width of the image.

Parameters:
width - The width to set

isYLogAxis

public boolean isYLogAxis()
Test if the Y axis is in log scale

Returns:
Returns the yLogAxis

setYLogAxis

public void setYLogAxis(boolean logAxis)
Set the log scale for the y axis

Parameters:
logAxis - The yLogAxis to set

setBins

public void setBins(int bins)
Set the number of bins

Parameters:
bins - The bins to set

setData

public void setData(double[] data)
set the data

Parameters:
data - The data to set

setTitle

public void setTitle(java.lang.String title)
Set the title of the plot.

Parameters:
title - The title to set

setThreshold

public void setThreshold(double threshold)
Set the threshold

Parameters:
threshold - The threshold to set

setThresholdCaptionRight

public void setThresholdCaptionRight(boolean thresholdCaptionRight)
Set the position of the caption for the threshold.

Parameters:
thresholdCaptionRight - The thresholdCaptionRight to set

setHistCaption

public void setHistCaption(java.lang.String histCaption)
Set the histogram caption

Parameters:
histCaption - The histCaption to set

setXAxisLegend

public void setXAxisLegend(java.lang.String axisLegend)
Set the x axis legend

Parameters:
axisLegend - The xAxisLegend to set

setYAxisLegend

public void setYAxisLegend(java.lang.String axisLegend)
Get the y axis legend

Parameters:
axisLegend - The yAxisLegend to set

getImage

public java.awt.Image getImage()
Get the image

Returns:
an image of the plot


Copyright © 2004-2005 École Normale Supérieure Microarray Platform. All Rights Reserved.