net.talvi.puffinplot.plots
Class SiteParamsTable
java.lang.Object
net.talvi.puffinplot.plots.Plot
net.talvi.puffinplot.plots.SiteParamsTable
public class SiteParamsTable
- extends Plot
A table showing site mean directions for the whole suite.
The table shows the site name, the calculation method
(anchored or unanchored PCA or great circle), declination,
and inclination. For PCA the principal direction is shown;
for great circles, the direction of the pole is shown.
Method Summary |
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. |
Methods inherited from class net.talvi.puffinplot.plots.Plot |
addPoint, addSampleClickListener, applyTextAttributes, clearPoints, cropRectangle, drawPoints, getDashedStroke, getDimensions, getDimensionsAsString, getFontSize, getMargin, 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 |
SiteParamsTable
public SiteParamsTable(GraphDisplay parent,
PlotParams params,
java.util.prefs.Preferences prefs)
- Creates a sample parameter table with the supplied parameters.
- Parameters:
parent
- the graph display containing the plotparams
- the parameters of the plotprefs
- the preferences containing the plot configuration
getName
public java.lang.String getName()
- Description copied from class:
Plot
- Returns an internal name for this plot.
- Specified by:
getName
in class Plot
- Returns:
- an internal name for this plot
getNiceName
public java.lang.String getNiceName()
- Description copied from class:
Plot
- Returns a user-friendly name for this plot.
- Overrides:
getNiceName
in class Plot
- Returns:
- a user-friendly name for this plot
draw
public void draw(java.awt.Graphics2D g)
- Description copied from class:
Plot
- Draws this plot.
- Specified by:
draw
in class Plot
- Parameters:
g
- the graphics object onto which to draw this plot