public class BasicCoordLayerControl extends SingleZoneLayerControl
| Constructor and Description |
|---|
BasicCoordLayerControl(uk.ac.starlink.ttools.plot2.Plotter<?> plotter,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel,
PositionCoordPanel coordPanel,
ListModel<TopcatModel> tablesModel,
Configger baseConfigger,
boolean autoPopulate)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
uk.ac.starlink.ttools.plot2.config.ConfigMap |
getConfig()
Returns a single config map containing all of the config
information gathered by this control.
|
String |
getControlLabel()
Returns a short string to label this control, visible in the stack.
|
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.
|
protected PositionCoordPanel |
getCoordPanel()
Returns the coord panel.
|
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.
|
protected SingleZoneLayer |
getSingleZoneLayer()
Returns the layer produced by this control.
|
TablesListComboBox |
getTableSelector()
Returns the selection widget for choosing which table this control
is working with.
|
TopcatModel |
getTopcatModel()
Returns the topcat model currently selected in the GUI.
|
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.
|
protected void |
tableChanged(TopcatModel tcModel)
Called when the TopcatModel for which this control is generating plots
is changed.
|
getLayers, hasLayers, submitReportsaddSpecifierTab, getConfigSpecifiersaddActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getPanel, getTabber, removeActionListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddActionListener, getControlIcon, getPanel, removeActionListenerpublic BasicCoordLayerControl(uk.ac.starlink.ttools.plot2.Plotter<?> plotter,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel,
PositionCoordPanel coordPanel,
ListModel<TopcatModel> tablesModel,
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 DataGeomtablesModel - list of available tablesbaseConfigger - 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 String getControlLabel()
ControlgetControlLabel in interface ControlgetControlLabel in class TabberControlpublic uk.ac.starlink.ttools.plot2.Plotter<?>[] getPlotters()
LayerControlprotected SingleZoneLayer getSingleZoneLayer()
SingleZoneLayerControlgetSingleZoneLayer in class SingleZoneLayerControlpublic String getCoordLabel(String userCoordName)
LayerControluserCoordName - name of one of the user value infos of an
input coord for this controlpublic uk.ac.starlink.ttools.plot2.LegendEntry[] getLegendEntries()
LayerControlpublic uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> getZoneSpecifier()
LayerControlpublic TablesListComboBox getTableSelector()
LayerControlpublic uk.ac.starlink.ttools.plot2.config.ConfigMap getConfig()
ConfigControladdSpecifierTab
method.getConfig in interface ConfiggergetConfig in class ConfigControlpublic void setTopcatModel(TopcatModel tcModel)
tcModel - new topcat modelpublic TopcatModel getTopcatModel()
protected PositionCoordPanel getCoordPanel()
protected void tableChanged(TopcatModel tcModel)
tcModel - new topcat model, may be nullCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.