Control, LayerControlpublic class MultiFormLayerControl extends FormLayerControl
| Constructor | 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 | 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.
|
addActionListener, getControlIcon, getPanel, removeActionListenergetControlLabel, getCoordLabel, getLayers, getLegendEntries, getPositionCoordPanel, getSubsetManager, getSubsetStack, getTopcatModel, getZoneSpecifier, setTopcatModel, submitReportsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getPanel, getTabber, removeActionListenerpublic 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()
FormLayerControlgetFormControls in class FormLayerControlprotected boolean isControlActive(FormControl fc)
FormLayerControlisControlActive in class FormLayerControlfc - form control managed by this layer controlpublic void addDefaultLayer()
public void addLayer(LayerCommand lcmd)
lcmd - layer specificationCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.