Control
, LayerControl
public class MultiFormLayerControl extends FormLayerControl
Constructor | Description |
---|---|
MultiFormLayerControl(PositionCoordPanel posCoordPanel,
TypedListModel<TopcatModel> tablesModel,
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, removeActionListener
getControlLabel, getCoordLabel, getLayers, getLegendEntries, getPositionCoordPanel, getSubsetManager, getSubsetStack, getTableSelector, getTopcatModel, getZoneSpecifier, setTopcatModel, submitReports
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getPanel, getTabber, removeActionListener
public MultiFormLayerControl(PositionCoordPanel posCoordPanel, TypedListModel<TopcatModel> tablesModel, 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
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()
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-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.