Class FoundDataUnitFX

java.lang.Object
dataPlotsFX.overlaymark.FoundDataUnitFX

public class FoundDataUnitFX extends Object
Wrapper class to hold a data unit and some click information.
Author:
Jamie Macaulay
  • Field Details

    • SINGLE_SELECTION

      public static final int SINGLE_SELECTION
      Data unit was found by a single mouse click or finger tap.
      See Also:
    • MARKED_AREA_DETECTION

      public static final int MARKED_AREA_DETECTION
      Data unit was found by being part of a selection area- i.e. was marked up with a series of other units.
      See Also:
    • selectionType

      public int selectionType
    • dataInfo

      public TDDataInfoFX dataInfo
    • dataUnit

      public PamDataUnit dataUnit
    • distance

      public double distance
  • Constructor Details

    • FoundDataUnitFX

      public FoundDataUnitFX(TDDataInfoFX dataInfo, PamDataUnit dataUnit, int type)
      Create a FoundDataUnit
      Parameters:
      dataInfo - - dataInfo i.e. what typoe of unit this is.
      dataUnit - - the data unit
      type - - the selection type.
    • FoundDataUnitFX

      public FoundDataUnitFX(PamDataUnit dataUnit, int type)