public class HistogramPlotStateFactory extends PlotStateFactory
AUX_VARIABLE, SUBSET_VARIABLE, TABLE_VARIABLE| Constructor | Description |
|---|---|
HistogramPlotStateFactory() |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
configureFromBounds(PlotState pstate,
DataBounds bounds) |
Updates a plot state generated by this factory with information
generated from a first pass through the data.
|
protected void |
configurePlotState(PlotState pstate,
uk.ac.starlink.task.Environment env) |
Configures a PlotState object by examining parameter values in a
given execution environment.
|
protected TablePlotData |
createPlotData(uk.ac.starlink.task.Environment env,
java.lang.String tLabel,
uk.ac.starlink.table.StarTable table,
java.lang.String[] setExprs,
java.lang.String[] setNames,
Style[] setStyles,
java.lang.String labelExpr,
java.lang.String[] coordExprs,
java.lang.String[] errExprs) |
Constructs a PlotData object.
|
protected PlotState |
createPlotState() |
Creates a new unconfigured PlotState object suitable for configuration
by this factory.
|
protected StyleFactory |
createStyleFactory(java.lang.String prefix) |
Constructs a style factory which can retrieve a plotting style suitable
for use with this factory from the environment.
|
uk.ac.starlink.task.Parameter[] |
getParameters() |
Returns the parameters associated with this object.
|
protected boolean |
requiresConfigureFromBounds(PlotState state) |
Indicates whether it is necessary to calculate the DataBounds for a
given PlotState before it is ready to be used.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadjustFromData, calculateBounds, configureFromData, getPlotState, requiresAdjustFromDatapublic uk.ac.starlink.task.Parameter[] getParameters()
PlotStateFactorygetParameters in class PlotStateFactoryprotected PlotState createPlotState()
PlotStateFactorycreatePlotState in class PlotStateFactoryprotected void configurePlotState(PlotState pstate, uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
PlotStateFactoryPlotStateFactory.createPlotState().configurePlotState in class PlotStateFactorypstate - plot state to configureenv - execution environmentuk.ac.starlink.task.TaskExceptionprotected TablePlotData createPlotData(uk.ac.starlink.task.Environment env, java.lang.String tLabel, uk.ac.starlink.table.StarTable table, java.lang.String[] setExprs, java.lang.String[] setNames, Style[] setStyles, java.lang.String labelExpr, java.lang.String[] coordExprs, java.lang.String[] errExprs) throws uk.ac.starlink.task.TaskException, gnu.jel.CompilationException
PlotStateFactoryPlotStateFactory.configurePlotState(uk.ac.starlink.ttools.plot.PlotState, uk.ac.starlink.task.Environment); may be overridden by subclasses.createPlotData in class PlotStateFactoryenv - execution environmenttLabel - table identifier suffixtable - input tablesetExprs - nset-element JEL boolean-valued expression array
for set inclusionsetNames - nset-element set name arraysetStyles - nset-elemnt set style arraylabelExpr - JEL expression for text labelcoordExprs - ndim-element JEL double-valued expression array
for coordinate valueserrExprs - nerr-element expression(s) array for error valuesuk.ac.starlink.task.TaskExceptiongnu.jel.CompilationExceptionprotected StyleFactory createStyleFactory(java.lang.String prefix)
PlotStateFactorycreateStyleFactory in class PlotStateFactoryprefix - prefix to use for all style-type variablesprotected boolean requiresConfigureFromBounds(PlotState state)
PlotStateFactoryPlotStateFactory.configureFromBounds(uk.ac.starlink.ttools.plot.PlotState, uk.ac.starlink.ttools.plot.DataBounds) will be called
later.requiresConfigureFromBounds in class PlotStateFactorystate - plot stateprotected void configureFromBounds(PlotState pstate, DataBounds bounds)
PlotStateFactoryconfigureFromBounds in class PlotStateFactorypstate - plot state to updatebounds - data bounds calculated by a pass through the dataCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.