Class DetectionGroupSummary

java.lang.Object
detectiongrouplocaliser.DetectionGroupSummary

public class DetectionGroupSummary extends Object
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 Details Link icon

    • DetectionGroupSummary Link icon

      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 Link icon

      public DetectionGroupSummary(javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark, PamDataUnit dataUnit)
  • Method Details Link icon

    • getNumDataUnits Link icon

      public int getNumDataUnits()
      Returns:
      The number of data units in the list
    • getNumDataBlocks Link icon

      public int getNumDataBlocks()
      Returns:
      The number of different data blocks for the units in the list.
    • getNumSuperDetections Link icon

      public int getNumSuperDetections()
      Returns:
      The number of super detections
    • getNumSuperDataBlocks Link icon

      public int getNumSuperDataBlocks()
      Returns:
      The number of unique super detection data blocks.
    • getDataList Link icon

      public List<PamDataUnit> getDataList()
      Returns:
      the dataList
    • getUsedDataBlocks Link icon

      public HashSet<PamDataBlock> getUsedDataBlocks()
      Returns:
      the usedDataBlocks
    • getSuperDetections Link icon

      public HashSet<PamDataUnit> getSuperDetections()
      Returns:
      the superDetections
    • getSuperDataBlocks Link icon

      public HashSet<PamDataBlock> getSuperDataBlocks()
      Returns:
      the superDataBlocks
    • getFirstTimeMillis Link icon

      public long getFirstTimeMillis()
      Returns:
      the time of the first data unit.
    • getLastTimeMillis Link icon

      public long getLastTimeMillis()
      Returns:
      the time of the last data unit
    • getMouseEvent Link icon

      public javafx.scene.input.MouseEvent getMouseEvent()
      Returns:
      the mouseEvent
    • getOverlayMarker Link icon

      public OverlayMarker getOverlayMarker()
      Returns:
      the overlayMarker
    • getOverlayMark Link icon

      public OverlayMark getOverlayMark()
      Returns:
      the overlayMark
    • setFocusedIndex Link icon

      public void setFocusedIndex(int index)
      Set the index of the currently focused data unit.
      Parameters:
      i - - the index of the unit to focus.
    • getFocusedIndex Link icon

      public int getFocusedIndex()
      Set the index of the currently focused dfata unit.
      Parameters:
      i - - the index of the unit to focus.