public class BloodHoundLinkManager
extends java.lang.Object
Constructor and Description |
---|
BloodHoundLinkManager(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
void |
addLink(RangeAndBearingMapItem line)
Add a link to a R&B line
|
boolean |
canLink(MapItem item)
Check whether this line can be used as a bloodhound link
Line must have 2 non-endpoint markers
|
void |
dispose() |
static BloodHoundLinkManager |
getInstance() |
boolean |
hasLink(java.lang.String uid)
Check if a certain line has an active link based on its UID
|
void |
removeLink(RangeAndBearingMapItem line)
Remove a link provided a Range and Bearing Map Item
|
void |
removeLink(java.lang.String uid)
Remove a link for a given line UID
|
public BloodHoundLinkManager(MapView mapView)
public static BloodHoundLinkManager getInstance()
public void dispose()
public boolean canLink(MapItem item)
item
- Map itempublic boolean hasLink(java.lang.String uid)
uid
- R&B line uidpublic void addLink(RangeAndBearingMapItem line)
line
- R&B linepublic void removeLink(java.lang.String uid)
uid
- R&B line uidpublic void removeLink(RangeAndBearingMapItem line)
line
- the link line to remove