Constructor and Description |
---|
LayerSpec(Plotter<?> plotter,
ConfigMap config,
String leglabel,
int izone)
Constructs a layer specification for a layer with no table data.
|
LayerSpec(Plotter<?> plotter,
ConfigMap config,
String leglabel,
int izone,
StarTable table,
CoordSpec[] coordSpecs,
DataGeom dataGeom,
CredibleString selectExpr)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ConfigMap |
getConfig()
Returns this layer's configuration options.
|
CoordSpec[] |
getCoordSpecs()
Coordinate specifications used by this layer.
|
DataGeom |
getDataGeom()
Returns the data geom used by this layer.
|
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.
|
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, 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, String leglabel, int izone, StarTable table, CoordSpec[] coordSpecs, DataGeom dataGeom, 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 usedcoordSpecs
- list of coordinate specificationsdataGeom
- data geomselectExpr
- boolean expression evaluated in the context of
the supplied table; if non-null, only true rows
are includedpublic Plotter<?> getPlotter()
public ConfigMap getConfig()
public String getLegendLabel()
public int getZoneIndex()
public StarTable getTable()
public CoordSpec[] getCoordSpecs()
public DataGeom getDataGeom()
public CredibleString getSelectExpr()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.