public class SampleEqAreaPlot extends EqAreaPlot
DEFAULT_PLOT_POSITIONS, dimensions, params, PLOT_POINT_SIZE
Constructor and Description |
---|
SampleEqAreaPlot(GraphDisplay parent,
PlotParams params,
java.util.prefs.Preferences prefs)
Creates a sample equal-area 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.
|
java.lang.String |
getName()
Returns an internal name for this plot.
|
java.lang.String |
getNiceName()
Returns a user-friendly name for this plot.
|
java.lang.String |
getShortName()
Returns a short, human-readable name for this plot.
|
drawAxes, drawGreatCircle, drawGreatCircleSegment, drawGreatCircleSegment, drawLineSegments, project, projectGreatCircleSegment, projectLineSegments, updatePlotDimensions, vectorsToPath
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 SampleEqAreaPlot(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 java.lang.String getShortName()
EqAreaPlot
getShortName
in class EqAreaPlot