public class FunctionLayerControl extends ConfigControl implements LayerControl
| Constructor and Description |
|---|
FunctionLayerControl(uk.ac.starlink.ttools.plot2.layer.FunctionPlotter plotter,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCoordLabel(String userCoordName)
Returns a text label associated with one of the user coords for
this control, typically the name of the column or expression
supplying the data.
|
TopcatLayer[] |
getLayers(uk.ac.starlink.ttools.plot2.Ganger<?,?> ganger)
Returns the layers contributed by this control.
|
uk.ac.starlink.ttools.plot2.LegendEntry[] |
getLegendEntries()
Returns legend entries associated with this control.
|
uk.ac.starlink.ttools.plot2.Plotter<?>[] |
getPlotters()
Returns a list of the plotters that will be used by this control
to create layers.
|
TablesListComboBox |
getTableSelector()
Returns the selection widget for choosing which table this control
is working with.
|
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> |
getZoneSpecifier()
Returns a specifier that determines which zone of a multi-zone plot
this control's layers will be displayed in.
|
boolean |
hasLayers()
Indicates whether this control will yield any layers in its
current state.
|
void |
submitReports(Map<LayerId,uk.ac.starlink.ttools.plot2.ReportMap> reports,
uk.ac.starlink.ttools.plot2.Ganger<?,?> ganger)
Accepts report information generated by plotting layers.
|
addSpecifierTab, getConfig, getConfigSpecifiersaddActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getControlLabel, getPanel, getTabber, removeActionListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddActionListener, getControlIcon, getControlLabel, getPanel, removeActionListenerpublic FunctionLayerControl(uk.ac.starlink.ttools.plot2.layer.FunctionPlotter plotter,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel)
plotter - function plotterzsel - zone id specifier, may be null for single-zone plotspublic uk.ac.starlink.ttools.plot2.Plotter<?>[] getPlotters()
LayerControlgetPlotters in interface LayerControlpublic boolean hasLayers()
LayerControlgetLayers
will return a non-empty array.
False positives are best avoided, but permitted.hasLayers in interface LayerControlpublic TopcatLayer[] getLayers(uk.ac.starlink.ttools.plot2.Ganger<?,?> ganger)
LayerControlgetLayers in interface LayerControlganger - ganger within which layers will be usedpublic uk.ac.starlink.ttools.plot2.LegendEntry[] getLegendEntries()
LayerControlgetLegendEntries in interface LayerControlpublic void submitReports(Map<LayerId,uk.ac.starlink.ttools.plot2.ReportMap> reports, uk.ac.starlink.ttools.plot2.Ganger<?,?> ganger)
LayerControlsubmitReports in interface LayerControlreports - per-layer plot reports for layers generated on
behalf of this and possibly other controlsganger - ganger within which layers will be usedpublic uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> getZoneSpecifier()
LayerControlgetZoneSpecifier in interface LayerControlpublic TablesListComboBox getTableSelector()
LayerControlgetTableSelector in interface LayerControlpublic String getCoordLabel(String userCoordName)
LayerControlgetCoordLabel in interface LayerControluserCoordName - name of one of the user value infos of an
input coord for this controlCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.