Package gda.scan
Class AxisSpecProviderImpl
java.lang.Object
gda.scan.AxisSpecProviderImpl
- All Implemented Interfaces:
AxisSpecProvider,Serializable
Implementation of AxisSpecProvider
To have a separate yaxis for each signal plotted simply
use the constructor AxisSpecProviderImpl(b). Or else
use setyAxesMap to provide a map.
An example of use from Jython
setyAxesMap({AxisSpec("y"):["iy", "iy_nosiy"]})
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAxisSpec(String name) Returns AxisSpec to be used for a given line in ScanPlot name is the name of the line e.g.inthashCode()booleanvoidsetUseSeparateYAxes(boolean useSeparateYAxes) voidsetyAxesMap(Map<AxisSpec, List<String>> map)
-
Constructor Details
-
AxisSpecProviderImpl
public AxisSpecProviderImpl(boolean b)
-
-
Method Details
-
getAxisSpec
Description copied from interface:AxisSpecProviderReturns AxisSpec to be used for a given line in ScanPlot name is the name of the line e.g. scannable input name- Specified by:
getAxisSpecin interfaceAxisSpecProvider
-
getyAxesMap
-
setyAxesMap
-
isUseSeparateYAxes
public boolean isUseSeparateYAxes() -
setUseSeparateYAxes
public void setUseSeparateYAxes(boolean useSeparateYAxes) -
hashCode
public int hashCode()- Specified by:
hashCodein interfaceAxisSpecProvider- Overrides:
hashCodein classObject
-
equals
- Specified by:
equalsin interfaceAxisSpecProvider- Overrides:
equalsin classObject
-