public class SampleParamsLegend extends Plot
DEFAULT_PLOT_POSITIONS, dimensions, params, PLOT_POINT_SIZE
Constructor and Description |
---|
SampleParamsLegend(PlotParams params)
Creates a new sample parameter legend with the supplied parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D g)
Draws this plot.
|
int |
getMargin()
Returns the size of the margin displayed when resizing the plot.
|
String |
getName()
Returns an internal name for this plot.
|
String |
getNiceName()
Returns a user-friendly name for this plot.
|
addPoint, addSampleClickListener, addVisibilityChangedListener, applyTextAttributes, areTreatmentStepsLabelled, clearPoints, cropRectangle, drawPoints, getDashedStroke, getDimensions, getDimensionsAsString, getFontSize, getStroke, getTextAttributes, getTickLength, getTreatmentStepForPosition, getUnitSize, isVisible, mouseClicked, putText, putText, removeSampleClickListener, removeVisibilityChangedListener, selectByRectangle, setDimensions, setDimensionsToDefault, setVisible, timesTenToThe, timesTenToThe, writeString, writeString
public SampleParamsLegend(PlotParams params)
params
- the parameters of the legendpublic String getName()
Plot
public String getNiceName()
Plot
getNiceName
in class Plot
public int getMargin()
Plot
public void draw(Graphics2D g)
Plot
Copyright © 2022. All rights reserved.