public static interface SinePlot.PlanePlotter
Modifier and Type | Method and Description |
---|---|
PlotDisplay |
createPlotComponent(uk.ac.starlink.table.StarTable table,
boolean dataMayChange)
Creates a JComponent holding a plot of the data in the first two
columns of the supplied table.
|
PlotDisplay createPlotComponent(uk.ac.starlink.table.StarTable table, boolean dataMayChange) throws java.lang.Exception
The dataMayChange
parameter is used to determine
whether the plot positions should be cached or not for repaints,
either as required by Swing move/resize actions or
as the result of the user navigating around the plot.
It's always safe to set it true, but if the data is static,
setting it false will give better performance.
table
- table to plotdataMayChange
- true if the table data may change during
the lifetime of the plotjava.lang.Exception
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.