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, setTopcatModel
getLayers, hasLayers, submitReports
addSpecifierTab, getConfigSpecifiers
addActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getPanel, getTabber, removeActionListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addActionListener, getControlIcon, getPanel, removeActionListener
public 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 LayerControl
getLegendEntries
in class BasicCoordLayerControl
public String getCoordLabel(String userCoordName)
LayerControl
getCoordLabel
in interface LayerControl
getCoordLabel
in class BasicCoordLayerControl
userCoordName
- name of one of the user value infos of an
input coord for this controlprotected void tableChanged(TopcatModel tcModel)
BasicCoordLayerControl
tableChanged
in class BasicCoordLayerControl
tcModel
- new topcat model, may be nullCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.