Package dataPlotsFX.rawDataPlotFX
Class RawSoundDataInfo
java.lang.Object
dataPlotsFX.data.TDDataInfoFX
dataPlotsFX.rawDataPlotFX.RawSoundDataInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class dataPlotsFX.data.TDDataInfoFX
TDDataInfoFX.DataLoadObserver
-
Field Summary
Fields inherited from class dataPlotsFX.data.TDDataInfoFX
dataPlugIns, scaleInfoIndex
-
Constructor Summary
ConstructorDescriptionRawSoundDataInfo
(TDDataProviderFX tdDataProvider, TDGraphFX tdGraph, AcquisitionControl control, PamRawDataBlock pamDataBlock) -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawData
(int plotNumber, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector) Paint data into the graphics window.getDataValue
(PamDataUnit pamDataUnit) Gets a value for a specific data unit which should be in the same units as the scale information.getScaleInfo
(boolean autoScale) Get scale information based on the min max values of units in the data block or fixed scale informationvoid
timeRangeSpinnerChange
(double oldValue, double newValue) Called when the time range spinner on the main display panel changes.void
timeScrollRangeChanged
(double minimumMillis, double maximumMillis) (non-Javadoc)void
timeScrollValueChanged
(double valueMillis) (non-Javadoc)Methods inherited from class dataPlotsFX.data.TDDataInfoFX
addScaleInfo, clearDraw, drawAllDataUnits, drawDataUnit, drawHighLightData, editOptions, getCurrentScaleInfo, getDataBlock, getDataDimensions, getDataName, getDataObserver, getDataProvider, getDDataProvider, getDisplayColType, getGraphSettingsPane, getLastDrawPoints, getMasterClockOverride, getMenuNodes, getPreviousDataUnit, getRequiredDataHistory, getScaleInfo, getScaleInfoIndex, getScaleInfos, getShortName, getSourceDataBlock, getStoredSettings, getTDGraph, getToolTipText, hasAxisName, hasOptions, isPaused, isScrollChanging, isShowing, isViewer, lastUnitDrawn, notifyChange, removeData, removeScaleInfo, selectScaleInfo, setCurrentAxisName, setNPlotPanes, setShowing, setStoredSettings, shouldDraw, shouldDraw
-
Constructor Details
-
RawSoundDataInfo
public RawSoundDataInfo(TDDataProviderFX tdDataProvider, TDGraphFX tdGraph, AcquisitionControl control, PamRawDataBlock pamDataBlock)
-
-
Method Details
-
drawData
public void drawData(int plotNumber, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector) Description copied from class:TDDataInfoFX
Paint data into the graphics window.- Overrides:
drawData
in classTDDataInfoFX
- Parameters:
plotNumber
- plot numberg
- graphics
-
getScaleInfo
Description copied from class:TDDataInfoFX
Get scale information based on the min max values of units in the data block or fixed scale information- Overrides:
getScaleInfo
in classTDDataInfoFX
- Parameters:
autoScale
- . Create a scale information which is based on min/max value of data units in data block. False to use fixed scale information.- Returns:
- Information about the scales of the data.
-
getDataValue
Description copied from class:TDDataInfoFX
Gets a value for a specific data unit which should be in the same units as the scale information. This will then be converted into a plot position by the TDGraph.- Specified by:
getDataValue
in classTDDataInfoFX
- Returns:
- data value or null if this data point should not be plotted.
-
getSymbolChooser
- Specified by:
getSymbolChooser
in classTDDataInfoFX
- Returns:
- a class containing functions to chose a symbol to plot.
-
timeScrollRangeChanged
public void timeScrollRangeChanged(double minimumMillis, double maximumMillis) (non-Javadoc)- Overrides:
timeScrollRangeChanged
in classTDDataInfoFX
- Parameters:
minimumMillis
- new minimum in millismaximumMillis
- new maximum in millis.- See Also:
-
timeRangeSpinnerChange
public void timeRangeSpinnerChange(double oldValue, double newValue) Description copied from class:TDDataInfoFX
Called when the time range spinner on the main display panel changes.- Overrides:
timeRangeSpinnerChange
in classTDDataInfoFX
- Parameters:
oldValue
- old value (seconds)newValue
- new value (seconds)
-
timeScrollValueChanged
public void timeScrollValueChanged(double valueMillis) (non-Javadoc)- Overrides:
timeScrollValueChanged
in classTDDataInfoFX
- Parameters:
valueMillis
- new scroll value in millis- See Also:
-