Package dataPlotsFX.scrollingPlot2D
Class PlotParams2D
java.lang.Object
dataPlotsFX.scrollingPlot2D.PlotParams2D
- All Implemented Interfaces:
Serializable,Cloneable,ManagedParameters
- Direct Known Subclasses:
BeamOGramPlotParams,SpectrogramParamsFX
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[]Amplitude limits- only used when serializing;double[]The maximum limits of the amplitude slider bar. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSetup the double property for amplitude- use for creating from serialized settingsjavafx.beans.property.DoubleProperty[]double[]Get the colormap of the spectrogramdouble[]Get a set of data that describes all of the parameters in a classjavafx.scene.paint.ColorGet the color of the wrap line (used if spectrogram wraps.)voidsetColourMap(ColourArray.ColourArrayType colourMap) voidsetWrapLineColor(ColourArray.ColourArrayType colourMap) Set the colort of the wrap line corresponding to the colourmap of the spectrogram.
-
Field Details
-
amplitudeLimitsSerial
public double[] amplitudeLimitsSerialAmplitude limits- only used when serializing; -
maxAmplitudeLimits
public double[] maxAmplitudeLimitsThe maximum limits of the amplitude slider bar.
-
-
Constructor Details
-
PlotParams2D
public PlotParams2D()
-
-
Method Details
-
getAmplitudeLimitsSerial
public double[] getAmplitudeLimitsSerial()- Returns:
- the amplitudeLimitsSerial
-
getMaxAmplitudeLimits
public double[] getMaxAmplitudeLimits()- Returns:
- the maxAmplitudeLimits
-
getAmplitudeLimits
public javafx.beans.property.DoubleProperty[] getAmplitudeLimits()- Returns:
- the amplitudeLimits
-
createAmplitudeProperty
public void createAmplitudeProperty()Setup the double property for amplitude- use for creating from serialized settings -
getColourMap
Get the colormap of the spectrogram- Returns:
- the colourmap of the spectrogram.
-
getWrapColour
public javafx.scene.paint.Color getWrapColour()Get the color of the wrap line (used if spectrogram wraps.)- Returns:
- the colour of the wrap line
-
setColourMap
-
setWrapLineColor
Set the colort of the wrap line corresponding to the colourmap of the spectrogram.- Parameters:
colourMap- - the colour map of the spectrogram.
-
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
getParameterSetin interfaceManagedParameters- Returns:
- description of the parameters in a class.
-