Class FFTScrollBarGraphics
java.lang.Object
pamViewFX.fxNodes.pamScrollers.acousticScroller.FFTScrollBarGraphics
- All Implemented Interfaces:
AcousticScrollerGraphics
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionpamViewFX.fxNodes.pamScrollers.acousticScroller.FFTScrollBarGraphics.SpecDatagramPlot
The spectrogram plot.Fields inherited from interface pamViewFX.fxNodes.pamScrollers.acousticScroller.AcousticScrollerGraphics
SAMPLE_RATE_CHANGE
-
Constructor Summary
ConstructorDescriptionFFTScrollBarGraphics
(AcousticScrollerFX acousticScroller, FFTDataBlock fftDataBlock) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewData
(PamDataUnit rawData) Add new data units.void
Clear all data in the store.Set colours for the datagram.The data block represented in the graphics.getName()
Name of the graphics.void
notifyUpdate
(int flag) Notifies of updates form the acoustic scroller.boolean
True if the data block requires offline loading of data.void
repaint()
Repaint the canvas with the graphics.void
setColors
(Plot2DColours specColors) Set colours for the datagram.
-
Field Details
-
spectrogramPlot
public pamViewFX.fxNodes.pamScrollers.acousticScroller.FFTScrollBarGraphics.SpecDatagramPlot spectrogramPlotThe spectrogram plot.
-
-
Constructor Details
-
FFTScrollBarGraphics
-
-
Method Details
-
getDataBlock
Description copied from interface:AcousticScrollerGraphics
The data block represented in the graphics.- Specified by:
getDataBlock
in interfaceAcousticScrollerGraphics
- Returns:
- the data block.
-
addNewData
Description copied from interface:AcousticScrollerGraphics
Add new data units. These will be used to create graphics- Specified by:
addNewData
in interfaceAcousticScrollerGraphics
- Parameters:
rawData
- . A dataunit. Can be any type of data unit.
-
repaint
public void repaint()Description copied from interface:AcousticScrollerGraphics
Repaint the canvas with the graphics.- Specified by:
repaint
in interfaceAcousticScrollerGraphics
-
getName
Description copied from interface:AcousticScrollerGraphics
Name of the graphics.- Specified by:
getName
in interfaceAcousticScrollerGraphics
- Returns:
- the graphics
-
clearStore
public void clearStore()Description copied from interface:AcousticScrollerGraphics
Clear all data in the store.- Specified by:
clearStore
in interfaceAcousticScrollerGraphics
-
orderOfflineData
public boolean orderOfflineData()Description copied from interface:AcousticScrollerGraphics
True if the data block requires offline loading of data.- Specified by:
orderOfflineData
in interfaceAcousticScrollerGraphics
-
notifyUpdate
public void notifyUpdate(int flag) Description copied from interface:AcousticScrollerGraphics
Notifies of updates form the acoustic scroller.- Specified by:
notifyUpdate
in interfaceAcousticScrollerGraphics
- Parameters:
flag
- - the update flag.
-
setColors
Description copied from interface:AcousticScrollerGraphics
Set colours for the datagram.- Specified by:
setColors
in interfaceAcousticScrollerGraphics
-
getColors
Description copied from interface:AcousticScrollerGraphics
Set colours for the datagram.- Specified by:
getColors
in interfaceAcousticScrollerGraphics
-