Package dataPlots.data
Class FoundDataUnit
java.lang.Object
dataPlots.data.FoundDataUnit
Utility class to return details of a data unit found on a graph. 
 
This is essentially a wrapper around a PamDataUnit which provides some more info on graph data type and selection method.
- Author:
 - Doug Gillespie
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptiondoublestatic final intData unit was found byt being part of a selction area- i.e.intstatic final intData unit was found by a single mouse click or finger tap. - 
Constructor Summary
ConstructorsConstructorDescriptionFoundDataUnit(TDDataInfo dataInfo, PamDataUnit dataUnit, int type) Create a FoundDataUnit - 
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 byt being part of a selction 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
- 
FoundDataUnit
Create a FoundDataUnit- Parameters:
 dataInfo- - dataInfo i.e. what typoe of unit this is.dataUnit- - the data unittype- - the selection type.
 
 -