public class FoundDataUnit
extends java.lang.Object
This is essentially a wrapper around a PamDataUnit which provides some more info on graph data type and selection method.
Modifier and Type | Field and Description |
---|---|
TDDataInfo |
dataInfo |
PamDataUnit |
dataUnit |
double |
distance |
static int |
MARKED_AREA_DETECTION
Data unit was found byt being part of a selction area- i.e.
|
int |
selectionType |
static int |
SINGLE_SELECTION
Data unit was found by a single mouse click or finger tap.
|
Constructor and Description |
---|
FoundDataUnit(TDDataInfo dataInfo,
PamDataUnit dataUnit,
int type)
Create a FoundDataUnit
|
public static final int SINGLE_SELECTION
public static final int MARKED_AREA_DETECTION
public int selectionType
public TDDataInfo dataInfo
public PamDataUnit dataUnit
public double distance
public FoundDataUnit(TDDataInfo dataInfo, PamDataUnit dataUnit, int type)
dataInfo-
- dataInfo i.e. what typoe of unit this is.dataUnit-
- the data unittype-
- the selection type.