|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.talvi.puffinplot.plots.Plot
net.talvi.puffinplot.plots.PlotTitle
public class PlotTitle
A title for the graph display, showing the sample identifier and some other information.
Field Summary |
---|
Fields inherited from class net.talvi.puffinplot.plots.Plot |
---|
DEFAULT_PLOT_POSITIONS, dimensions, params, PLOT_POINT_SIZE |
Constructor Summary | |
---|---|
PlotTitle(GraphDisplay parent,
PlotParams params,
java.util.prefs.Preferences prefs)
Creates a plot title with the supplied parameters. |
Method Summary | |
---|---|
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. |
Methods inherited from class net.talvi.puffinplot.plots.Plot |
---|
addPoint, addSampleClickListener, applyTextAttributes, clearPoints, cropRectangle, drawPoints, getDashedStroke, getDimensions, getDimensionsAsString, getFontSize, getStroke, getTextAttributes, getTickLength, getUnitSize, isVisible, mouseClicked, removeSampleClickListener, selectByRectangle, setDimensions, setDimensionsToDefault, setVisible, timesTenToThe, timesTenToThe, writeString, writeString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlotTitle(GraphDisplay parent, PlotParams params, java.util.prefs.Preferences prefs)
parent
- the graph display containing the plot titleparams
- the parameters of the plot titleprefs
- the preferences containing the plot title configurationMethod Detail |
---|
public int getMargin()
Plot
getMargin
in class Plot
public java.lang.String getName()
Plot
getName
in class Plot
public java.lang.String getNiceName()
Plot
getNiceName
in class Plot
public void draw(java.awt.Graphics2D g)
Plot
draw
in class Plot
g
- the graphics object onto which to draw this plot
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |