public abstract class MatchPlotter
extends java.lang.Object
| Constructor | Description |
|---|---|
MatchPlotter() |
| Modifier and Type | Method | Description |
|---|---|---|
static javax.swing.Action |
createPlotAction(java.awt.Component parent,
uk.ac.starlink.table.join.MatchEngine engine,
TupleSelector[] tselectors,
uk.ac.starlink.table.JoinFixAction[] fixActs,
TopcatModel result) |
Creates an action which can be used to post a plot for a given
completed match operation.
|
static MatchPlotter |
getMatchPlotter(uk.ac.starlink.table.join.MatchEngine engine) |
Acquires an instance of this class suitable for a given match engine.
|
abstract void |
showPlot(java.awt.Component parent,
TupleSelector[] tselectors,
uk.ac.starlink.table.JoinFixAction[] fixActs,
TopcatModel result) |
Posts a plot window representing data from tables input to a match
and the output table.
|
public abstract void showPlot(java.awt.Component parent,
TupleSelector[] tselectors,
uk.ac.starlink.table.JoinFixAction[] fixActs,
TopcatModel result)
throws LayerException
parent - parent componenttselectors - selectors used to specify match input
tables and values, one for each input tablefixActs - options for column name disambiguation,
one for each input tableresult - output (matched) tableLayerException - if the plot cannot be constructedpublic static MatchPlotter getMatchPlotter(uk.ac.starlink.table.join.MatchEngine engine)
engine - match criterionpublic static javax.swing.Action createPlotAction(java.awt.Component parent,
uk.ac.starlink.table.join.MatchEngine engine,
TupleSelector[] tselectors,
uk.ac.starlink.table.JoinFixAction[] fixActs,
TopcatModel result)
It's not always possible to do this. In the case that no plot can be made, a non-null action is still returned, but invoking it will pop up an error message.
parent - parent componentengine - match engine determining match criteriatselectors - populated GUI components specifying input
tables and coordinates, corresponding to
match engine requirementsfixActs - options for column name disambiguation,
one for each input tableresult - output (matched) tableCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.