public static interface SinePlot.PlanePlotter
Modifier and Type | Method and Description |
---|---|
PlotDisplay<?,?> |
createPlotComponent(StarTable table,
boolean dataMayChange)
Creates a JComponent holding a plot of the data in the first two
columns of the supplied table.
|
PlotDisplay<?,?> createPlotComponent(StarTable table, boolean dataMayChange) throws 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 plotException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.