|
CESE 1.4.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.simulogic.dataview.plots.AbstractPlot
public abstract class AbstractPlot
Abstract plot is a template for all the different plots
Field Summary | |
---|---|
protected double |
distance
Distance between the two points on the plot (in user space) |
protected double |
hotspot
Hotspot range for selecting plots by clicking |
Constructor Summary | |
---|---|
AbstractPlot()
Creates new AbstractPlot |
Method Summary | |
---|---|
abstract AbstractPlot |
createPlot()
Returns new instance of the plot |
double |
getDistance()
Getter for property distance. |
abstract java.lang.String |
getName()
Returns plot name. |
abstract javax.swing.Icon |
getSmallIcon()
Returns small icon for plot. |
abstract boolean |
isChannelPoint(double x,
double y,
DataChannel xChannel,
DataChannel yChannel,
java.awt.geom.AffineTransform transform)
Determines whether point is located within a plot |
abstract 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 |
void |
setDistance(double distance)
Setter for property distance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double distance
protected double hotspot
Constructor Detail |
---|
public AbstractPlot()
Method Detail |
---|
public abstract void plotChannel(java.awt.Graphics2D g2, DataChannel xChannel, DataChannel yChannel, double xMin, double xMax, java.awt.geom.AffineTransform transform)
g2
- graphicsxChannel
- channel containing independent variable valuesyChannel
- channel containing dependent variable valuesxMin
- minimal value for plotting rangexMax
- maximal value for plotting rangetransform
- plot transformpublic abstract boolean isChannelPoint(double x, double y, DataChannel xChannel, DataChannel yChannel, java.awt.geom.AffineTransform transform)
x
- point x coordinatey
- point y coordinatexChannel
- channel containing independent variable valuesyChannel
- channel containing dependent variable valuestransform
- plot transform
public abstract AbstractPlot createPlot()
public double getDistance()
public void setDistance(double distance)
distance
- New value of property distance.public abstract java.lang.String getName()
public abstract javax.swing.Icon getSmallIcon()
|
CESE 1.4.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |