public abstract class SingleZoneLayerControl extends ConfigControl implements LayerControl
Modifier | Constructor and Description |
---|---|
protected |
SingleZoneLayerControl(String label,
Icon icon,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TopcatLayer[] |
getLayers(uk.ac.starlink.ttools.plot2.Ganger<?,?> ganger)
Returns the layers contributed by this control.
|
protected abstract SingleZoneLayer |
getSingleZoneLayer()
Returns the layer produced by this control.
|
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, getConfigSpecifiers
addActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getControlLabel, getPanel, getTabber, removeActionListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCoordLabel, getLegendEntries, getPlotters, getTableSelector, getZoneSpecifier
addActionListener, getControlIcon, getControlLabel, getPanel, removeActionListener
protected abstract SingleZoneLayer getSingleZoneLayer()
public boolean hasLayers()
LayerControl
getLayers
will return a non-empty array.
False positives are best avoided, but permitted.hasLayers
in interface LayerControl
public TopcatLayer[] getLayers(uk.ac.starlink.ttools.plot2.Ganger<?,?> ganger)
LayerControl
getLayers
in interface LayerControl
ganger
- ganger within which layers will be usedpublic void submitReports(Map<LayerId,uk.ac.starlink.ttools.plot2.ReportMap> reports, uk.ac.starlink.ttools.plot2.Ganger<?,?> ganger)
LayerControl
submitReports
in interface LayerControl
reports
- per-layer plot reports for layers generated on
behalf of this and possibly other controlsganger
- ganger within which layers will be usedCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.