public class SiteEqAreaPlot extends EqAreaPlot
DEFAULT_PLOT_POSITIONS, dimensions, params, PLOT_POINT_SIZE
Constructor and Description |
---|
SiteEqAreaPlot(GraphDisplay parent,
PlotParams params,
java.util.prefs.Preferences prefs)
Creates a site equal area plot with the supplied parameters.
|
SiteEqAreaPlot(GraphDisplay parent,
PlotParams params,
java.awt.geom.Rectangle2D dimensions,
java.util.prefs.Preferences prefs)
Creates a site equal area plot with the supplied parameters.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setDimensions(java.awt.geom.Rectangle2D dimensions)
Sets the dimensions of this plot.
|
drawAxes, drawGreatCircle, drawGreatCircleSegment, drawGreatCircleSegment, drawLineSegments, project, projectGreatCircleSegment, projectLineSegments, updatePlotDimensions, vectorsToPath
addPoint, addSampleClickListener, applyTextAttributes, areTreatmentStepsLabelled, clearPoints, cropRectangle, drawPoints, getDashedStroke, getDatumForPosition, getDimensions, getDimensionsAsString, getFontSize, getMargin, getStroke, getTextAttributes, getTickLength, getUnitSize, isVisible, mouseClicked, putText, putText, removeSampleClickListener, selectByRectangle, setDimensionsToDefault, setVisible, timesTenToThe, timesTenToThe, writeString, writeString
public SiteEqAreaPlot(GraphDisplay parent, PlotParams params, java.awt.geom.Rectangle2D dimensions, java.util.prefs.Preferences prefs)
parent
- the graph display containing the plotparams
- the parameters of the plotdimensions
- the initial dimensions of the plotprefs
- the preferences containing the plot configurationpublic SiteEqAreaPlot(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 java.lang.String getShortName()
EqAreaPlot
getShortName
in class EqAreaPlot
public void draw(java.awt.Graphics2D g)
Plot
public void setDimensions(java.awt.geom.Rectangle2D dimensions)
Plot
setDimensions
in class Plot
dimensions
- dimensions the new dimensions of this plot