public class BloodHoundLink extends java.lang.Object implements PointMapItem.OnPointChangedListener, MapItem.OnGroupChangedListener
Constructor and Description |
---|
BloodHoundLink(MapView mapView,
BloodHoundLinkManager manager,
RangeAndBearingMapItem line) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
RangeAndBearingMapItem |
getLine()
Get the R&B line this link is monitoring
|
void |
onItemAdded(MapItem item,
MapGroup group) |
void |
onItemRemoved(MapItem item,
MapGroup group) |
void |
onPointChanged(PointMapItem item) |
void |
recreate()
Re-create the link using the new points on the R&B line
Note: This will dispose the current link instance
|
void |
update() |
public BloodHoundLink(MapView mapView, BloodHoundLinkManager manager, RangeAndBearingMapItem line)
public void dispose()
public RangeAndBearingMapItem getLine()
public void recreate()
public void update()
public void onPointChanged(PointMapItem item)
onPointChanged
in interface PointMapItem.OnPointChangedListener
public void onItemAdded(MapItem item, MapGroup group)
onItemAdded
in interface MapItem.OnGroupChangedListener
public void onItemRemoved(MapItem item, MapGroup group)
onItemRemoved
in interface MapItem.OnGroupChangedListener