public class GLMapTargetBubble extends java.lang.Object implements MapTargetBubble.OnLocationChangedListener, MapTargetBubble.OnScaleChangedListener, MapTargetBubble.OnCrosshairColorChangedListener
Modifier and Type | Field and Description |
---|---|
protected int |
_top |
protected float |
focusx |
protected float |
focusy |
static GLLayerSpi2 |
SPI2 |
static java.lang.String |
TAG
also refered to as the reticle tool
|
Constructor and Description |
---|
GLMapTargetBubble(MapRenderer surface,
MapTargetBubble subject) |
Modifier and Type | Method and Description |
---|---|
void |
draw(GLMapView view) |
void |
draw(GLMapView view,
int renderPass) |
MapRenderer2 |
getRenderer() |
int |
getRenderPass() |
Layer |
getSubject() |
void |
onMapTargetBubbleCrosshairColorChanged(MapTargetBubble bubble) |
void |
onMapTargetBubbleLocationChanged(MapTargetBubble bubble) |
void |
onMapTargetBubbleScaleChanged(MapTargetBubble bubble) |
protected void |
queueEvent(java.lang.Runnable r) |
void |
release() |
void |
start() |
void |
stop() |
<T extends MapControl> |
visitControl(Layer2 layer,
<any> visitor,
java.lang.Class<T> ctrlClazz) |
public static final GLLayerSpi2 SPI2
public static final java.lang.String TAG
protected float focusx
protected float focusy
protected int _top
public GLMapTargetBubble(MapRenderer surface, MapTargetBubble subject)
public MapRenderer2 getRenderer()
public final <T extends MapControl> boolean visitControl(Layer2 layer, <any> visitor, java.lang.Class<T> ctrlClazz)
protected final void queueEvent(java.lang.Runnable r)
public void onMapTargetBubbleLocationChanged(MapTargetBubble bubble)
onMapTargetBubbleLocationChanged
in interface MapTargetBubble.OnLocationChangedListener
public void onMapTargetBubbleScaleChanged(MapTargetBubble bubble)
onMapTargetBubbleScaleChanged
in interface MapTargetBubble.OnScaleChangedListener
public void onMapTargetBubbleCrosshairColorChanged(MapTargetBubble bubble)
onMapTargetBubbleCrosshairColorChanged
in interface MapTargetBubble.OnCrosshairColorChangedListener
public void draw(GLMapView view)
public void draw(GLMapView view, int renderPass)
public void release()
public int getRenderPass()
public Layer getSubject()
public void start()
public void stop()