public class SampleParamsLegend extends Plot
DEFAULT_PLOT_POSITIONS, dimensions, params, PLOT_POINT_SIZE
Constructor and Description |
---|
SampleParamsLegend(GraphDisplay parent,
PlotParams params,
java.util.prefs.Preferences prefs)
Creates a new sample parameter legend with the supplied parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.Graphics2D g)
Draws this plot.
|
int |
getMargin()
Returns the size of the margin displayed when resizing the 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, areTreatmentStepsLabelled, clearPoints, cropRectangle, drawPoints, getDashedStroke, getDatumForPosition, getDimensions, getDimensionsAsString, getFontSize, getStroke, getTextAttributes, getTickLength, getUnitSize, isVisible, mouseClicked, putText, putText, removeSampleClickListener, selectByRectangle, setDimensions, setDimensionsToDefault, setVisible, timesTenToThe, timesTenToThe, writeString, writeString
public SampleParamsLegend(GraphDisplay parent, PlotParams params, java.util.prefs.Preferences prefs)
parent
- the graph display containing the legendparams
- the parameters of the legendprefs
- the preferences containing the legend configurationpublic java.lang.String getName()
Plot
public java.lang.String getNiceName()
Plot
getNiceName
in class Plot
public int getMargin()
Plot