public interface LayerControl extends Control
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.
|
addActionListener, getControlIcon, getControlLabel, getPanel, removeActionListener
uk.ac.starlink.ttools.plot2.Plotter<?>[] getPlotters()
boolean hasLayers()
getLayers
will return a non-empty array.
False positives are best avoided, but permitted.TopcatLayer[] getLayers(uk.ac.starlink.ttools.plot2.Ganger<?,?> ganger)
ganger
- ganger within which layers will be useduk.ac.starlink.ttools.plot2.LegendEntry[] getLegendEntries()
void submitReports(Map<LayerId,uk.ac.starlink.ttools.plot2.ReportMap> reports, uk.ac.starlink.ttools.plot2.Ganger<?,?> ganger)
ganger
- ganger within which layers will be usedreports
- per-layer plot reports for layers generated on
behalf of this and possibly other controlsString getCoordLabel(String userCoordName)
userCoordName
- name of one of the user value infos of an
input coord for this controluk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> getZoneSpecifier()
TablesListComboBox getTableSelector()
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.