public class SingleZoneLayer extends Object
Constructor and Description |
---|
SingleZoneLayer(uk.ac.starlink.ttools.plot2.PlotLayer plotLayer,
uk.ac.starlink.ttools.plot2.config.ConfigMap config,
String leglabel)
Constructor for dataless layer.
|
SingleZoneLayer(uk.ac.starlink.ttools.plot2.PlotLayer plotLayer,
uk.ac.starlink.ttools.plot2.config.ConfigMap config,
String leglabel,
TopcatModel tcModel,
GuiCoordContent[] contents,
RowSubset rset)
General constructor.
|
Modifier and Type | Method and Description |
---|---|
LayerId |
getLayerId()
Returns the layer identifier.
|
uk.ac.starlink.ttools.plot2.PlotLayer |
getPlotLayer()
Returns the plot layer.
|
TopcatLayer |
toGangLayer(uk.ac.starlink.ttools.plot2.Ganger<?,?> ganger,
uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel)
Converts this single-zone layer to a TopcatLayer.
|
public SingleZoneLayer(uk.ac.starlink.ttools.plot2.PlotLayer plotLayer, uk.ac.starlink.ttools.plot2.config.ConfigMap config, String leglabel, TopcatModel tcModel, GuiCoordContent[] contents, RowSubset rset)
plotLayer
- plot layerconfig
- configuration items that generated this layer
(superset is permitted)leglabel
- label used in the legend;
if null, excluded from the legendtcModel
- topcat model producing layer, may be nullcontents
- information about data columns used to construct plot
(superset is not permitted)rset
- row subset for which layer is plottedpublic SingleZoneLayer(uk.ac.starlink.ttools.plot2.PlotLayer plotLayer, uk.ac.starlink.ttools.plot2.config.ConfigMap config, String leglabel)
plotLayer
- plot layerconfig
- configuration items that generated this layer
(superset is permitted)leglabel
- label used in the legend;
if null, excluded from the legendpublic uk.ac.starlink.ttools.plot2.PlotLayer getPlotLayer()
public LayerId getLayerId()
public TopcatLayer toGangLayer(uk.ac.starlink.ttools.plot2.Ganger<?,?> ganger, uk.ac.starlink.ttools.plot2.config.Specifier<ZoneId> zsel)
ganger
- gangerzsel
- zone selector, may be nullCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.