public class LayerCommand<S extends uk.ac.starlink.ttools.plot.Style> extends Object
Constructor and Description |
---|
LayerCommand(uk.ac.starlink.ttools.plot2.Plotter<S> plotter,
TopcatModel tcModel,
Map<String,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 String |
getInputName(uk.ac.starlink.ttools.plot2.data.Input input)
Obtains a unique name for an input coordinate specifier.
|
Map<String,String> |
getInputValues()
Returns a mapping which gives the values of the input
coordinates used by the layer.
|
uk.ac.starlink.ttools.plot2.Plotter<S> |
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.
|
String |
toString() |
public LayerCommand(uk.ac.starlink.ttools.plot2.Plotter<S> plotter, TopcatModel tcModel, Map<String,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<S> getPlotter()
public TopcatModel getTopcatModel()
public Map<String,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 static String getInputName(uk.ac.starlink.ttools.plot2.data.Input input)
input
- input coordinate specifierCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.