public class MultiFormLayerControl extends FormLayerControl
| Constructor and Description |
|---|
MultiFormLayerControl(PlotTypeGui<?,?> plotTypeGui,
PositionCoordPanel posCoordPanel,
ListModel<TopcatModel> tablesModel,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel,
boolean autoPopulate,
NextSupplier nextSupplier,
TopcatListener tcListener,
Icon controlIcon,
uk.ac.starlink.ttools.plot2.Plotter<?>[] plotters,
Configger baseConfigger)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultLayers()
Adds one or more layers that will give some default plot or other.
|
void |
addLayer(LayerCommand<?> lcmd)
Attempts to add a specified layer to this control.
|
protected FormControl[] |
getFormControls()
Returns a list of all the form controls, active or not, currently
managd by this layer control.
|
protected boolean |
isControlActive(FormControl fc)
Indicates whether a given form control is contributing the the plot
on behalf of this layer control.
|
getActiveFormControls, getControlLabel, getCoordLabel, getLayers, getLegendEntries, getLegendLabel, getPlotters, getPositionCoordPanel, getSubsetManager, getSubsetStack, getTableSelector, getTopcatModel, getZoneSpecifier, hasLayers, setTopcatModel, submitReportsaddActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getPanel, getTabber, removeActionListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddActionListener, getControlIcon, getPanel, removeActionListenerpublic MultiFormLayerControl(PlotTypeGui<?,?> plotTypeGui, PositionCoordPanel posCoordPanel, ListModel<TopcatModel> tablesModel, uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel, boolean autoPopulate, NextSupplier nextSupplier, TopcatListener tcListener, Icon controlIcon, uk.ac.starlink.ttools.plot2.Plotter<?>[] plotters, Configger baseConfigger)
plotTypeGui - plot typeposCoordPanel - panel for entering table and basic positional
coordinatestablesModel - list of available tableszsel - zone id specifier, may be null for single-zone plotsautoPopulate - if true, when the table is changed an attempt
will be made to initialise the coordinate fields
with some suitable valuesnextSupplier - manages global dispensing for some style optionstcListener - listener for TopcatEventscontrolIcon - icon for control stackplotters - plotter objects providing different plot layer
type optionsbaseConfigger - configuration source for some global config
optionsprotected FormControl[] getFormControls()
FormLayerControlgetFormControls in class FormLayerControlprotected boolean isControlActive(FormControl fc)
FormLayerControlisControlActive in class FormLayerControlfc - form control managed by this layer controlpublic void addDefaultLayers()
public void addLayer(LayerCommand<?> lcmd)
lcmd - layer specificationCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.