|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface SinePlot.PlanePlotter
Abstracts the way that the table is turned into a 2d plot component.
Method Summary | |
---|---|
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. |
Method Detail |
---|
PlotDisplay createPlotComponent(uk.ac.starlink.table.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 plot
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |