Package detectiongrouplocaliser
Class DetectionGroupSummary
java.lang.Object
detectiongrouplocaliser.DetectionGroupSummary
A summary of information associated with some marked data units. 
 
Should refactor at some point so that this is standard within the OverlayMarker.
- Author:
 - Doug Gillespie
 
- 
Constructor Summary
ConstructorsConstructorDescriptionDetectionGroupSummary(javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark, List<PamDataUnit> dataList) DetectionGroupSummary(javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark, PamDataUnit dataUnit)  - 
Method Summary
Modifier and TypeMethodDescriptionlongintSet the index of the currently focused dfata unit.longjavafx.scene.input.MouseEventintintintintvoidsetFocusedIndex(int index) Set the index of the currently focused data unit. 
- 
Constructor Details
- 
DetectionGroupSummary
public DetectionGroupSummary(javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark, List<PamDataUnit> dataList) - Parameters:
 mouseEvent-overlayMarker-overlayMark-dataList- List of data units selected from a mark on one of the displays.
 - 
DetectionGroupSummary
public DetectionGroupSummary(javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark, PamDataUnit dataUnit)  
 - 
 - 
Method Details
- 
getNumDataUnits
public int getNumDataUnits()- Returns:
 - The number of data units in the list
 
 - 
getNumDataBlocks
public int getNumDataBlocks()- Returns:
 - The number of different data blocks for the units in the list.
 
 - 
getNumSuperDetections
public int getNumSuperDetections()- Returns:
 - The number of super detections
 
 - 
getNumSuperDataBlocks
public int getNumSuperDataBlocks()- Returns:
 - The number of unique super detection data blocks.
 
 - 
getDataList
- Returns:
 - the dataList
 
 - 
getUsedDataBlocks
- Returns:
 - the usedDataBlocks
 
 - 
getSuperDetections
- Returns:
 - the superDetections
 
 - 
getSuperDataBlocks
- Returns:
 - the superDataBlocks
 
 - 
getFirstTimeMillis
public long getFirstTimeMillis()- Returns:
 - the time of the first data unit.
 
 - 
getLastTimeMillis
public long getLastTimeMillis()- Returns:
 - the time of the last data unit
 
 - 
getMouseEvent
public javafx.scene.input.MouseEvent getMouseEvent()- Returns:
 - the mouseEvent
 
 - 
getOverlayMarker
- Returns:
 - the overlayMarker
 
 - 
getOverlayMark
- Returns:
 - the overlayMark
 
 - 
setFocusedIndex
public void setFocusedIndex(int index) Set the index of the currently focused data unit.- Parameters:
 i- - the index of the unit to focus.
 - 
getFocusedIndex
public int getFocusedIndex()Set the index of the currently focused dfata unit.- Parameters:
 i- - the index of the unit to focus.
 
 -