public class SpectrogramLayerControl extends BasicCoordLayerControl
| Constructor and Description |
|---|
SpectrogramLayerControl(uk.ac.starlink.ttools.plot2.layer.SpectrogramPlotter plotter,
ListModel<TopcatModel> tablesModel,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel,
Configger baseConfigger)
Constructor.
|
| 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.
|
uk.ac.starlink.ttools.plot2.LegendEntry[] |
getLegendEntries()
It's difficult to know how to represent a spectrogram in a legend,
and it's probably not necessary.
|
protected void |
tableChanged(TopcatModel tcModel)
Called when the TopcatModel for which this control is generating plots
is changed.
|
getConfig, getControlLabel, getCoordPanel, getPlotters, getSingleZoneLayer, getTableSelector, getTopcatModel, getZoneSpecifier, setTopcatModelgetLayers, hasLayers, submitReportsaddSpecifierTab, getConfigSpecifiersaddActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getPanel, getTabber, removeActionListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddActionListener, getControlIcon, getPanel, removeActionListenerpublic SpectrogramLayerControl(uk.ac.starlink.ttools.plot2.layer.SpectrogramPlotter plotter,
ListModel<TopcatModel> tablesModel,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel,
Configger baseConfigger)
plotter - spectrogram plottertablesModel - list of available tableszsel - zone id specifier, may be null for single-zone plotsbaseConfigger - provides global configuration infopublic uk.ac.starlink.ttools.plot2.LegendEntry[] getLegendEntries()
getLegendEntries in interface LayerControlgetLegendEntries in class BasicCoordLayerControlpublic String getCoordLabel(String userCoordName)
LayerControlgetCoordLabel in interface LayerControlgetCoordLabel in class BasicCoordLayerControluserCoordName - name of one of the user value infos of an
input coord for this controlprotected void tableChanged(TopcatModel tcModel)
BasicCoordLayerControltableChanged in class BasicCoordLayerControltcModel - new topcat model, may be nullCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.