CESE 1.4.7

com.simulogic.dataview.plots
Class HistogramPlot

java.lang.Object
  extended by com.simulogic.dataview.plots.AbstractPlot
      extended by com.simulogic.dataview.plots.HistogramPlot

public class HistogramPlot
extends AbstractPlot

Plot that uses styled lines in histogram form to connect data points


Field Summary
 
Fields inherited from class com.simulogic.dataview.plots.AbstractPlot
distance, hotspot
 
Constructor Summary
HistogramPlot()
          Creates new HistogramPlot
 
Method Summary
 AbstractPlot createPlot()
          Returns new instance of the plot
 java.lang.String getName()
          Returns plot name.
 javax.swing.Icon getSmallIcon()
          Returns small icon for plot.
 boolean isChannelPoint(double x, double y, DataChannel xChannel, DataChannel yChannel, java.awt.geom.AffineTransform transform)
          Determines whether point is located within a plot
 void plotChannel(java.awt.Graphics2D g2, DataChannel xChannel, DataChannel yChannel, double xMin, double xMax, java.awt.geom.AffineTransform transform)
          Plots content of the single channel
 
Methods inherited from class com.simulogic.dataview.plots.AbstractPlot
getDistance, setDistance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistogramPlot

public HistogramPlot()
Creates new HistogramPlot

Method Detail

plotChannel

public final void plotChannel(java.awt.Graphics2D g2,
                              DataChannel xChannel,
                              DataChannel yChannel,
                              double xMin,
                              double xMax,
                              java.awt.geom.AffineTransform transform)
Plots content of the single channel

Specified by:
plotChannel in class AbstractPlot
Parameters:
g2 - graphics
xChannel - channel containing independent variable values
yChannel - channel containing dependent variable values
xMin - minimal value for plotting range
xMax - maximal value for plotting range
transform - plot transform

isChannelPoint

public boolean isChannelPoint(double x,
                              double y,
                              DataChannel xChannel,
                              DataChannel yChannel,
                              java.awt.geom.AffineTransform transform)
Determines whether point is located within a plot

Specified by:
isChannelPoint in class AbstractPlot
Parameters:
x - point x coordinate
y - point y coordinate
xChannel - channel containing independent variable values
yChannel - channel containing dependent variable values
transform - plot transform
Returns:
true if point belongs to channel

createPlot

public AbstractPlot createPlot()
Returns new instance of the plot

Specified by:
createPlot in class AbstractPlot
Returns:
new instance of the current plot

getName

public java.lang.String getName()
Returns plot name.

Specified by:
getName in class AbstractPlot
Returns:
plot name.

getSmallIcon

public javax.swing.Icon getSmallIcon()
Returns small icon for plot.

Specified by:
getSmallIcon in class AbstractPlot
Returns:
mall icon for plot.

CESE 1.4.7

Copyright (c) 1999 - 2007 Cell Electrophysiology Simulation Environment (CESE). All rights reserved.