public class TopcatLayer
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static uk.ac.starlink.topcat.plot2.TopcatLayer.TopcatNamer |
FILENAME_NAMER |
|
static uk.ac.starlink.topcat.plot2.TopcatLayer.TopcatNamer |
LABEL_NAMER |
|
static uk.ac.starlink.topcat.plot2.TopcatLayer.TopcatNamer |
PATHNAME_NAMER |
|
static uk.ac.starlink.topcat.plot2.TopcatLayer.TopcatNamer |
TNUM_NAMER |
Constructor | Description |
---|---|
TopcatLayer(uk.ac.starlink.ttools.plot2.PlotLayer plotLayer,
uk.ac.starlink.ttools.plot2.config.ConfigMap config,
java.lang.String leglabel) |
Constructs a layer with no table data.
|
TopcatLayer(uk.ac.starlink.ttools.plot2.PlotLayer plotLayer,
uk.ac.starlink.ttools.plot2.config.ConfigMap config,
java.lang.String leglabel,
TopcatModel tcModel,
GuiCoordContent[] contents,
RowSubset rset) |
Constructs a layer based on a table.
|
Modifier and Type | Method | Description |
---|---|---|
uk.ac.starlink.ttools.plot2.task.LayerSpec |
getLayerSpec(int izone) |
Returns a layer specification for this layer placed within
a given zone.
|
static uk.ac.starlink.ttools.task.TableNamer[] |
getLayerTableNamers() |
Returns a list of TableNamer objects that give the user options for
referencing TopcatModels by a text string in generated stilts commands.
|
uk.ac.starlink.ttools.plot2.PlotLayer |
getPlotLayer() |
Returns this object's plot layer.
|
public static final uk.ac.starlink.topcat.plot2.TopcatLayer.TopcatNamer PATHNAME_NAMER
public static final uk.ac.starlink.topcat.plot2.TopcatLayer.TopcatNamer FILENAME_NAMER
public static final uk.ac.starlink.topcat.plot2.TopcatLayer.TopcatNamer LABEL_NAMER
public static final uk.ac.starlink.topcat.plot2.TopcatLayer.TopcatNamer TNUM_NAMER
public TopcatLayer(uk.ac.starlink.ttools.plot2.PlotLayer plotLayer, uk.ac.starlink.ttools.plot2.config.ConfigMap config, java.lang.String leglabel, TopcatModel tcModel, GuiCoordContent[] contents, RowSubset rset)
plotLayer
- plot layer, not nullconfig
- configuration used to set up the plot layer
(superset is permitted)leglabel
- label used in the legend;
if null, excluded from the legendtcModel
- TopcatModel containing the tablecontents
- information about data columns used to construct plot
(superset is not permitted)rset
- row subset for which layer is plottedpublic TopcatLayer(uk.ac.starlink.ttools.plot2.PlotLayer plotLayer, uk.ac.starlink.ttools.plot2.config.ConfigMap config, java.lang.String leglabel)
plotLayer
- plot layer, not nullconfig
- configuration used to set up the plot layer
(superset is permitted)leglabel
- label used in the legend;
if null, excluded from the legendpublic uk.ac.starlink.ttools.plot2.PlotLayer getPlotLayer()
public uk.ac.starlink.ttools.plot2.task.LayerSpec getLayerSpec(int izone)
It shouldn't be null, unless it was impossible to write the specification for some reason??
izone
- zone index for created layerpublic static uk.ac.starlink.ttools.task.TableNamer[] getLayerTableNamers()
Copyright ? 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.