public class LayerCommand
extends java.lang.Object
Constructor and Description |
---|
LayerCommand(uk.ac.starlink.ttools.plot2.Plotter plotter,
TopcatModel tcModel,
java.util.Map<java.lang.String,java.lang.String> inputValues,
uk.ac.starlink.ttools.plot2.config.ConfigMap config,
RowSubset rset)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
uk.ac.starlink.ttools.plot2.config.ConfigMap |
getConfig()
Returns a configuration map containing any explicit values
required for layer configuration.
|
static java.lang.String |
getInputName(uk.ac.starlink.ttools.plot2.data.Input input)
Obtains a unique name for an input coordinate specifier.
|
java.util.Map<java.lang.String,java.lang.String> |
getInputValues()
Returns a mapping which gives the values of the input
coordinates used by the layer.
|
uk.ac.starlink.ttools.plot2.Plotter |
getPlotter()
Returns the plotter that will generate the layer.
|
RowSubset |
getRowSubset()
Returns the row subset for which the layer is to be plotted.
|
TopcatModel |
getTopcatModel()
Returns the table supplying the table data.
|
java.lang.String |
toString() |
public LayerCommand(uk.ac.starlink.ttools.plot2.Plotter plotter, TopcatModel tcModel, java.util.Map<java.lang.String,java.lang.String> inputValues, uk.ac.starlink.ttools.plot2.config.ConfigMap config, RowSubset rset)
plotter
- plottertcModel
- table providing plot datainputValues
- string values to be entered into column input
fields, keyed by coordinate input short nameconfig
- configuration options to apply to the plot;
default values will be used for any not suppliedrset
- row subset for which the plot will be madepublic uk.ac.starlink.ttools.plot2.Plotter getPlotter()
public TopcatModel getTopcatModel()
public java.util.Map<java.lang.String,java.lang.String> getInputValues()
getInputName(uk.ac.starlink.ttools.plot2.data.Input)
.
The map values are the strings that appear in column selectors
or on a command line to specify the column value - generally a
column name or JEL expression.public uk.ac.starlink.ttools.plot2.config.ConfigMap getConfig()
public RowSubset getRowSubset()
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String getInputName(uk.ac.starlink.ttools.plot2.data.Input input)
input
- input coordinate specifierCopyright © 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.