Configger
, Control
, LayerControl
public class FunctionLayerControl extends ConfigControl implements LayerControl
Constructor | Description |
---|---|
FunctionLayerControl(uk.ac.starlink.ttools.plot2.layer.FunctionPlotter plotter,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getCoordLabel(java.lang.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() |
Returns the layers contributed by this control.
|
uk.ac.starlink.ttools.plot2.LegendEntry[] |
getLegendEntries() |
Returns legend entries associated with this control.
|
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.
|
void |
submitReports(java.util.Map<LayerId,uk.ac.starlink.ttools.plot2.ReportMap> reports) |
Accepts report information generated by plotting layers.
|
addSpecifierTab, getConfig, getConfigSpecifiers
addActionListener, getControlIcon, getControlLabel, getPanel, removeActionListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getControlLabel, getPanel, getTabber, removeActionListener
public 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 TopcatLayer[] getLayers()
LayerControl
getLayers
in interface LayerControl
public uk.ac.starlink.ttools.plot2.LegendEntry[] getLegendEntries()
LayerControl
getLegendEntries
in interface LayerControl
public uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> getZoneSpecifier()
LayerControl
getZoneSpecifier
in interface LayerControl
public TablesListComboBox getTableSelector()
LayerControl
getTableSelector
in interface LayerControl
public void submitReports(java.util.Map<LayerId,uk.ac.starlink.ttools.plot2.ReportMap> reports)
LayerControl
submitReports
in interface LayerControl
reports
- per-layer plot reports for layers generated on
behalf of this and possibly other controlspublic java.lang.String getCoordLabel(java.lang.String userCoordName)
LayerControl
getCoordLabel
in interface LayerControl
userCoordName
- name of one of the user value infos of an
input coord for this controlCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.