Configger, Control, LayerControlHealpixLayerControl, SpectrogramLayerControlpublic class BasicCoordLayerControl extends ConfigControl implements LayerControl
| Constructor | Description |
|---|---|
BasicCoordLayerControl(uk.ac.starlink.ttools.plot2.Plotter<?> plotter,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel,
PositionCoordPanel coordPanel,
Configger baseConfigger,
boolean autoPopulate) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
uk.ac.starlink.ttools.plot2.config.ConfigMap |
getConfig() |
Returns a single config map containing all of the config
information gathered by this control.
|
java.lang.String |
getControlLabel() |
Returns a short string to label this control, visible in the stack.
|
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.
|
protected PositionCoordPanel |
getCoordPanel() |
Returns the coord panel.
|
TopcatLayer[] |
getLayers() |
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.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 |
setTopcatModel(TopcatModel tcModel) |
Sets in the GUI the topcat model for which this control
is making plots.
|
void |
submitReports(java.util.Map<LayerId,uk.ac.starlink.ttools.plot2.ReportMap> reports) |
Accepts report information generated by plotting layers.
|
protected void |
tableChanged(TopcatModel tcModel) |
Called when the TopcatModel for which this control is generating plots
is changed.
|
addSpecifierTab, getConfigSpecifiersaddActionListener, getControlIcon, getPanel, removeActionListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getPanel, getTabber, removeActionListenerpublic BasicCoordLayerControl(uk.ac.starlink.ttools.plot2.Plotter<?> plotter,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel,
PositionCoordPanel coordPanel,
Configger baseConfigger,
boolean autoPopulate)
plotter - plotterzsel - zone id specifier, may be null for single-zone casecoordPanel - panel which displays the plotter's coordinates,
and supplies a DataGeombaseConfigger - provides global configuration infoautoPopulate - if true, when the table is changed an attempt
will be made to initialise the coordinate fields
with some suitable valuespublic java.lang.String getControlLabel()
ControlgetControlLabel in interface ControlgetControlLabel in class TabberControlpublic TopcatLayer[] getLayers()
LayerControlgetLayers in interface LayerControlpublic java.lang.String getCoordLabel(java.lang.String userCoordName)
LayerControlgetCoordLabel in interface LayerControluserCoordName - name of one of the user value infos of an
input coord for this controlpublic uk.ac.starlink.ttools.plot2.LegendEntry[] getLegendEntries()
LayerControlgetLegendEntries in interface LayerControlpublic uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> getZoneSpecifier()
LayerControlgetZoneSpecifier in interface LayerControlpublic uk.ac.starlink.ttools.plot2.config.ConfigMap getConfig()
ConfigControladdSpecifierTab
method.getConfig in interface ConfiggergetConfig in class ConfigControlpublic void submitReports(java.util.Map<LayerId,uk.ac.starlink.ttools.plot2.ReportMap> reports)
LayerControlsubmitReports in interface LayerControlreports - per-layer plot reports for layers generated on
behalf of this and possibly other controlspublic void setTopcatModel(TopcatModel tcModel)
tcModel - new topcat modelprotected PositionCoordPanel getCoordPanel()
protected void tableChanged(TopcatModel tcModel)
tcModel - new topcat model, may be nullCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.