public class MultiFormLayerControl extends FormLayerControl
Constructor and Description |
---|
MultiFormLayerControl(PositionCoordPanel posCoordPanel,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel,
boolean autoPopulate,
NextSupplier nextSupplier,
TopcatListener tcListener,
javax.swing.Icon controlIcon,
uk.ac.starlink.ttools.plot2.Plotter[] plotters,
Configger baseConfigger)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addDefaultLayer()
Adds a layer 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.
|
getControlLabel, getCoordLabel, getLegendEntries, getPlotLayers, getPositionCoordPanel, getSubsetManager, getSubsetStack, getTopcatModel, getZoneSpecifier, setTopcatModel, submitReports
addActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getPanel, getTabber, removeActionListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addActionListener, getControlIcon, getPanel, removeActionListener
public MultiFormLayerControl(PositionCoordPanel posCoordPanel, uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel, boolean autoPopulate, NextSupplier nextSupplier, TopcatListener tcListener, javax.swing.Icon controlIcon, uk.ac.starlink.ttools.plot2.Plotter[] plotters, Configger baseConfigger)
posCoordPanel
- panel for entering table and basic positional
coordinateszsel
- 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()
FormLayerControl
getFormControls
in class FormLayerControl
protected boolean isControlActive(FormControl fc)
FormLayerControl
isControlActive
in class FormLayerControl
fc
- form control managed by this layer controlpublic void addDefaultLayer()
public void addLayer(LayerCommand lcmd)
lcmd
- layer specificationCopyright © 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.