Class RawScrollBarGraphics
java.lang.Object
pamViewFX.fxNodes.pamScrollers.acousticScroller.RawScrollBarGraphics
- All Implemented Interfaces:
 AcousticScrollerGraphics
Graphics for raw data for the acoustic scroll bar.
- Author:
 - Jamie Macaulay
 
- 
Field Summary
Fields inherited from interface pamViewFX.fxNodes.pamScrollers.acousticScroller.AcousticScrollerGraphics
SAMPLE_RATE_CHANGE - 
Constructor Summary
ConstructorsConstructorDescriptionRawScrollBarGraphics(AcousticScrollerFX acousticScroller, PamDataBlock<RawDataUnit> rawDataBlock)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddNewData(PamDataUnit rawDataUnit) Add new data units.voidClear all data in the store.Set colours for the datagram.The data block represented in the graphics.getName()Name of the graphics.voidnotifyUpdate(int flag) Notifies of updates form the acoustic scroller.booleanTrue if the data block requires offline loading of data.voidrepaint()Repaint the canvas with the graphics.voidsetColors(Plot2DColours specColors) Set colours for the datagram. 
- 
Constructor Details
- 
RawScrollBarGraphics
public RawScrollBarGraphics(AcousticScrollerFX acousticScroller, PamDataBlock<RawDataUnit> rawDataBlock)  
 - 
 - 
Method Details
- 
getDataBlock
Description copied from interface:AcousticScrollerGraphicsThe data block represented in the graphics.- Specified by:
 getDataBlockin interfaceAcousticScrollerGraphics- Returns:
 - the data block.
 
 - 
addNewData
Description copied from interface:AcousticScrollerGraphicsAdd new data units. These will be used to create graphics- Specified by:
 addNewDatain interfaceAcousticScrollerGraphics- Parameters:
 rawDataUnit- . A dataunit. Can be any type of data unit.
 - 
repaint
public void repaint()Description copied from interface:AcousticScrollerGraphicsRepaint the canvas with the graphics.- Specified by:
 repaintin interfaceAcousticScrollerGraphics
 - 
getName
Description copied from interface:AcousticScrollerGraphicsName of the graphics.- Specified by:
 getNamein interfaceAcousticScrollerGraphics- Returns:
 - the graphics
 
 - 
clearStore
public void clearStore()Description copied from interface:AcousticScrollerGraphicsClear all data in the store.- Specified by:
 clearStorein interfaceAcousticScrollerGraphics
 - 
orderOfflineData
public boolean orderOfflineData()True if the data block requires offline loading of data.- Specified by:
 orderOfflineDatain interfaceAcousticScrollerGraphics
 - 
notifyUpdate
public void notifyUpdate(int flag) Description copied from interface:AcousticScrollerGraphicsNotifies of updates form the acoustic scroller.- Specified by:
 notifyUpdatein interfaceAcousticScrollerGraphics- Parameters:
 flag- - the update flag.
 - 
setColors
Description copied from interface:AcousticScrollerGraphicsSet colours for the datagram.- Specified by:
 setColorsin interfaceAcousticScrollerGraphics- Parameters:
 specColors-
 - 
getColors
Description copied from interface:AcousticScrollerGraphicsSet colours for the datagram.- Specified by:
 getColorsin interfaceAcousticScrollerGraphics
 
 -