Package dataPlotsFX
Class TDParametersFX
java.lang.Object
dataPlotsFX.TDParametersFX
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
Stores parameters for a TDDisplay. A TDDisplay may have many graphs and these all have their own parameter calsses. All graphs share a single time scroller and hence this class
deals mainly with storing parameters for that, along with an ArrayList of TDGraphFX parameters corresponding to each current TDGraphFX displayed.
- Author:
- Jamie Macaulay
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionSet of params which tell PG about the display.A list of parameters for each tdGraph in the displayjavafx.geometry.Orientation
Orientation of the graph, HORIZONTAL or VERTICALint
The type of overlay marker which is currently employed.double
The number of milliseconds of scrollable data.int
The index of the selected datragram in the acoustic sc roll bar.double
The datenum in millis for the start of the time scroll bar.static final long
boolean
Whether the control pane is showing or not.double[]
Heights of split panes added to the display.double
The start of the display;long
The number of milliseconds displayed on the screen.boolean
True to wrap the time display, false to scroll. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addGraphParameters
(TDGraphParametersFX newGraph) clone()
Get a set of data that describes all of the parameters in a classvoid
print()
Print the graph params.
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
orientation
public javafx.geometry.Orientation orientationOrientation of the graph, HORIZONTAL or VERTICAL -
wrap
public boolean wrapTrue to wrap the time display, false to scroll. -
startMillis
public double startMillisThe start of the display; -
scrollableTimeRange
public double scrollableTimeRangeThe number of milliseconds of scrollable data. This is basically the data that is stored in memory and can be scrolled through. DG. This was set at 5 minutes and would cause all panels to keep that much data, which caused out of memory errors with FFT data - which doesn't need to be kept in any case. Now fixed so it doesn't apply to fft data, so should be o to revert to 5minutes. -
scrollerDataGramIndex
public int scrollerDataGramIndexThe index of the selected datragram in the acoustic sc roll bar. -
showControl
public boolean showControlWhether the control pane is showing or not. -
visibleTimeRange
public long visibleTimeRangeThe number of milliseconds displayed on the screen. -
scrollStartMillis
public double scrollStartMillisThe datenum in millis for the start of the time scroll bar. -
graphParameters
A list of parameters for each tdGraph in the display -
splitHeights
public double[] splitHeightsHeights of split panes added to the display. -
overlayMarkerType
public int overlayMarkerTypeThe type of overlay marker which is currently employed. -
displayProviderParams
Set of params which tell PG about the display.
-
-
Constructor Details
-
TDParametersFX
public TDParametersFX()
-
-
Method Details
-
clone
-
addGraphParameters
-
print
public void print()Print the graph params. For debugging. -
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-