net.talvi.puffinplot.plots
Class DemagTable
java.lang.Object
net.talvi.puffinplot.plots.Plot
net.talvi.puffinplot.plots.DemagTable
public class DemagTable
- extends Plot
A table showing some of the demagnetization data.
At present the columns are: treatment step,
declination, inclination, intensity, magnetic susceptibility.
In the future they may become configurable.
Method Summary |
void |
draw(java.awt.Graphics2D g)
Draws the table. |
java.lang.String |
getName()
Returns the internal plot name for this table. |
java.lang.String |
getNiceName()
Returns the user-friendly plot name for this table. |
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 |
DemagTable
public DemagTable(GraphDisplay parent,
PlotParams params,
java.util.prefs.Preferences prefs)
- Creates a data table with the supplied parameters
- Parameters:
parent
- the graph display containing the tableparams
- the parameters of the tableprefs
- the preferences containing the table configuration
getName
public java.lang.String getName()
- Returns the internal plot name for this table.
- Specified by:
getName
in class Plot
- Returns:
- the internal plot name for this table
getNiceName
public java.lang.String getNiceName()
- Returns the user-friendly plot name for this table.
- Overrides:
getNiceName
in class Plot
- Returns:
- the user-friendly plot name for this table
draw
public void draw(java.awt.Graphics2D g)
- Draws the table.
- Specified by:
draw
in class Plot
- Parameters:
g
- the graphics object to which to draw the table