Package dataPlotsFX.data
Class FoundDataUnit
java.lang.Object
dataPlotsFX.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
Modifier and TypeFieldDescriptiondouble
static final int
Data unit was found byt being part of a selction area- i.e.int
static final int
Data unit was found by a single mouse click or finger tap. -
Constructor Summary
ConstructorDescriptionFoundDataUnit
(TDDataInfoFX 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.
-