public class ZPlot extends Plot
Modifier and Type | Class and Description |
---|---|
class |
ZPlot.ZplotLegend
A legend for a Zijderveld plot.
|
DEFAULT_PLOT_POSITIONS, dimensions, params, PLOT_POINT_SIZE
Constructor and Description |
---|
ZPlot(GraphDisplay parent,
PlotParams params,
java.util.prefs.Preferences prefs)
Creates a Zijderveld plot with the supplied parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areTreatmentStepsLabelled()
Determines whether the points should be labelled.
|
void |
draw(java.awt.Graphics2D g)
Draws this plot.
|
ZPlot.ZplotLegend |
getLegend()
Returns the legend for this plot.
|
java.lang.String |
getName()
Returns an internal name for this plot.
|
java.lang.String |
getNiceName()
Returns a user-friendly name for this plot.
|
addPoint, addSampleClickListener, applyTextAttributes, clearPoints, cropRectangle, drawPoints, getDashedStroke, getDatumForPosition, getDimensions, getDimensionsAsString, getFontSize, getMargin, getStroke, getTextAttributes, getTickLength, getUnitSize, isVisible, mouseClicked, putText, putText, removeSampleClickListener, selectByRectangle, setDimensions, setDimensionsToDefault, setVisible, timesTenToThe, timesTenToThe, writeString, writeString
public ZPlot(GraphDisplay parent, PlotParams params, java.util.prefs.Preferences prefs)
parent
- the graph display containing the plotparams
- the parameters of the plotprefs
- the preferences containing the plot configurationpublic java.lang.String getName()
Plot
public java.lang.String getNiceName()
Plot
getNiceName
in class Plot
public boolean areTreatmentStepsLabelled()
Plot
Plot
's drawing routines.
As defined in Plot
, this method always returns
false
. Plots which
use labelled points should override it.areTreatmentStepsLabelled
in class Plot
true
if this plot's points should be labelledpublic void draw(java.awt.Graphics2D g)
Plot
public ZPlot.ZplotLegend getLegend()