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, getConfigSpecifiersaddActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getControlLabel, getPanel, getTabber, removeActionListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCoordLabel, getLegendEntries, getPlotters, getTableSelector, getZoneSpecifieraddActionListener, getControlIcon, getControlLabel, getPanel, removeActionListenerprotected abstract SingleZoneLayer getSingleZoneLayer()
public 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 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 usedCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.