Package dataPlotsFX.overlaymark
Class FoundDataUnitFX
java.lang.Object
dataPlotsFX.overlaymark.FoundDataUnitFX
Wrapper class to hold a data unit and some click information.
- Author:
 - Jamie Macaulay
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptiondoublestatic final intData unit was found by being part of a selection area- i.e.intstatic final intData unit was found by a single mouse click or finger tap. - 
Constructor Summary
ConstructorsConstructorDescriptionFoundDataUnitFX(TDDataInfoFX dataInfo, PamDataUnit dataUnit, int type) Create a FoundDataUnitFoundDataUnitFX(PamDataUnit dataUnit, int type)  - 
Method Summary
 
- 
Field Details
- 
SINGLE_SELECTION
public static final int SINGLE_SELECTIONData unit was found by a single mouse click or finger tap.- See Also:
 
 - 
MARKED_AREA_DETECTION
public static final int MARKED_AREA_DETECTIONData 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
 - 
dataUnit
 - 
distance
public double distance 
 - 
 - 
Constructor Details
- 
FoundDataUnitFX
Create a FoundDataUnit- Parameters:
 dataInfo- - dataInfo i.e. what typoe of unit this is.dataUnit- - the data unittype- - the selection type.
 - 
FoundDataUnitFX
 
 -