public class LayerSpec
extends java.lang.Object
PlotSpec
Constructor | Description |
---|---|
LayerSpec(Plotter plotter,
ConfigMap config,
java.lang.String leglabel,
int izone) |
Constructs a layer specification for a layer with no table data.
|
LayerSpec(Plotter plotter,
ConfigMap config,
java.lang.String leglabel,
int izone,
uk.ac.starlink.table.StarTable table,
java.util.Map<java.lang.String,java.lang.String> coordMap,
CredibleString selectExpr) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
ConfigMap |
getConfig() |
Returns this layer's configuration options.
|
java.util.Map<java.lang.String,java.lang.String> |
getCoordMap() |
Returns the name-value map for coordinate values used by this layer;
values are strings to be evaluated in the context of the table.
|
java.lang.String |
getLegendLabel() |
Returns the legend label associated with this layer.
|
Plotter |
getPlotter() |
Returns this layer's plotter.
|
CredibleString |
getSelectExpr() |
Returns an expression that indicates row inclusion for the table.
|
uk.ac.starlink.table.StarTable |
getTable() |
Returns the table supplying this layer's data.
|
int |
getZoneIndex() |
Returns the index of the zone in which this layer is placed.
|
public LayerSpec(Plotter plotter, ConfigMap config, java.lang.String leglabel, int izone)
plotter
- plotterconfig
- per-layer configuration; superset is permittedleglabel
- legend label, or null to exclude from legendizone
- zone indexpublic LayerSpec(Plotter plotter, ConfigMap config, java.lang.String leglabel, int izone, uk.ac.starlink.table.StarTable table, java.util.Map<java.lang.String,java.lang.String> coordMap, CredibleString selectExpr)
plotter
- plotterconfig
- per-layer configuration; superset is permittedleglabel
- legend label, or null to exclude from legendizone
- zone indextable
- table supplying data points;
where a string representation of the table is required,
its getName
method will generally be usedcoordMap
- name-value pairs giving data coordinates;
values are expressions to be evaluated in
the context of the supplied tableselectExpr
- boolean expression evaluated in the context of
the supplied table; if non-null, only true rows
are includedpublic Plotter getPlotter()
public ConfigMap getConfig()
public java.lang.String getLegendLabel()
public int getZoneIndex()
public uk.ac.starlink.table.StarTable getTable()
public java.util.Map<java.lang.String,java.lang.String> getCoordMap()
public CredibleString getSelectExpr()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.