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, isOrderring, isViewer, scaleInfoIndex - 
Constructor Summary
ConstructorsConstructorDescriptionRawSoundDataInfo(TDDataProviderFX tdDataProvider, TDGraphFX tdGraph, AcquisitionControl control, PamRawDataBlock pamDataBlock)  - 
Method Summary
Modifier and TypeMethodDescriptionvoiddrawData(int plotNumber, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector) Paint data into the graphics window.protected doubleGet the number of bins per pixel.getDataValue(PamDataUnit pamDataUnit) Gets a value for a specific data unit which should be in the same units as the scale information.protected floatGet the sample rate of the raw sound data.getScaleInfo(boolean autoScale) Get scale information based on the min max values of units in the data block or fixed scale informationvoidtimeRangeSpinnerChange(double oldValue, double newValue) Called when the time range spinner on the main display panel changes.voidtimeScrollRangeChanged(double minimumMillis, double maximumMillis) (non-Javadoc)voidtimeScrollValueChanged(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, getTdDataProvider, 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:TDDataInfoFXPaint data into the graphics window.- Overrides:
 drawDatain classTDDataInfoFX- Parameters:
 plotNumber- plot numberg- graphics
 - 
getScaleInfo
Description copied from class:TDDataInfoFXGet scale information based on the min max values of units in the data block or fixed scale information- Overrides:
 getScaleInfoin 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:TDDataInfoFXGets 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:
 getDataValuein classTDDataInfoFX- Parameters:
 pamDataUnit-- Returns:
 - data value or null if this data point should not be plotted.
 
 - 
getSymbolChooser
- Specified by:
 getSymbolChooserin classTDDataInfoFX- Returns:
 - a class containing functions to chose a symbol to plot.
 
 - 
getSampleRate
protected float getSampleRate()Get the sample rate of the raw sound data.- Returns:
 - sample rate of the raw sound data in S/s.
 
 - 
getBinsPerPixel
protected double getBinsPerPixel()Get the number of bins per pixel. This is calculated from the width of the tdGraph in pixels, the time the display represents and the sample rate of raw sound data.- Returns:
 - the number of bins per pixel.
 
 - 
timeScrollRangeChanged
public void timeScrollRangeChanged(double minimumMillis, double maximumMillis) (non-Javadoc)- Overrides:
 timeScrollRangeChangedin 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:TDDataInfoFXCalled when the time range spinner on the main display panel changes.- Overrides:
 timeRangeSpinnerChangein classTDDataInfoFX- Parameters:
 oldValue- old value (seconds)newValue- new value (seconds)
 - 
timeScrollValueChanged
public void timeScrollValueChanged(double valueMillis) (non-Javadoc)- Overrides:
 timeScrollValueChangedin classTDDataInfoFX- Parameters:
 valueMillis- new scroll value in millis- See Also:
 
 
 -