Class AcousticDataGramGraphics.DataGramStore
java.lang.Object
pamViewFX.fxNodes.pamScrollers.acousticScroller.AcousticDataGramGraphics.DataGramStore
- Enclosing class:
 AcousticDataGramGraphics
The datagram store.
- Author:
 - Jamie Macaulay
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddData(PamDataUnit rawData) Add data to the datagram.booleancheckTimeGap(PamDataUnit dataUnit) Checks everything is OK with the datagram and sets the correct time bin and prepares for writing datagram data.voidRebuild the imagevoidrebuildStore(long timeRange) Rebuild the store.voidwriteImageLine(DatagramDataPoint datagramStore) Write the image line. 
- 
Field Details
- 
currentIndex
public int currentIndexThe current index in the store. 
 - 
 - 
Constructor Details
- 
DataGramStore
public DataGramStore(long timeRange)  
 - 
 - 
Method Details
- 
addData
Add data to the datagram.- Parameters:
 rawData-
 - 
checkTimeGap
Checks everything is OK with the datagram and sets the correct time bin and prepares for writing datagram data.- Returns:
 - true if a new datagram line has been completed.
 
 - 
writeImageLine
Write the image line.- Parameters:
 datagramStore-
 - 
rebuildStore
public void rebuildStore(long timeRange) Rebuild the store.- Parameters:
 timeRange- - the time range.
 - 
rebuildImage
public void rebuildImage()Rebuild the image 
 -