public class GLFahArrowWidget extends GLShapeWidget implements FahArrowWidget.OnFahWidthChangedListener, FahArrowWidget.OnFahAngleChangedListener, FahArrowWidget.OnTouchableChangedListener, FahArrowWidget.OnTargetPointChangedListener, FahArrowWidget.OnFahLegChangedListener, FahArrowWidget.OnDesignatorPointChangedListener
Modifier and Type | Field and Description |
---|---|
static GLMapItemSpi3 |
GLITEM_SPI |
Constructor and Description |
---|
GLFahArrowWidget(FahArrowWidget subject,
GLMapView orthoView) |
Modifier and Type | Method and Description |
---|---|
void |
drawWidget() |
void |
drawWidgetContent()
Renders the widget content.
|
protected android.graphics.RectF |
getWidgetViewF()
Retrieve the bounding RectF of the current state of the Map.
|
void |
onDesignatorChanged(FahArrowWidget arrow) |
void |
onFahAngleChanged(FahArrowWidget arrow) |
void |
onFahLegChanged(FahArrowWidget arrow) |
void |
onFahWidthChanged(FahArrowWidget arrow) |
void |
onTargetChanged(FahArrowWidget arrow) |
void |
onTouchableChanged(FahArrowWidget arrow) |
void |
onVisibleChanged(MapWidget arrow) |
void |
release() |
void |
releaseWidget()
Releases any resources allocated as a result of
GLWidget.drawWidgetContent() . |
void |
startObserving(FahArrowWidget arrow) |
void |
stopObserving(FahArrowWidget arrow) |
onStrokeColorChanged, onStrokeWeightChanged, startObserving, stopObserving
onWidgetSizeChanged
drawStateFromFixedPipeline, drawWidget, getSubject, getSurface, getX, getY, onWidgetPointChanged, setX, setY, start, stop
public static final GLMapItemSpi3 GLITEM_SPI
public GLFahArrowWidget(FahArrowWidget subject, GLMapView orthoView)
public void startObserving(FahArrowWidget arrow)
public void stopObserving(FahArrowWidget arrow)
protected android.graphics.RectF getWidgetViewF()
getWidgetViewF
in class GLWidget
public void drawWidgetContent()
GLWidget
Must be invoked on GL render thread!
drawWidgetContent
in class GLWidget
public void drawWidget()
drawWidget
in class GLWidget2
public void releaseWidget()
GLWidget
GLWidget.drawWidgetContent()
.
Must be invoked on GL render thread!
releaseWidget
in class GLWidget
public void release()
public void onFahAngleChanged(FahArrowWidget arrow)
onFahAngleChanged
in interface FahArrowWidget.OnFahAngleChangedListener
public void onVisibleChanged(MapWidget arrow)
onVisibleChanged
in interface MapWidget.OnVisibleChangedListener
onVisibleChanged
in class GLWidget
public void onFahWidthChanged(FahArrowWidget arrow)
onFahWidthChanged
in interface FahArrowWidget.OnFahWidthChangedListener
public void onFahLegChanged(FahArrowWidget arrow)
onFahLegChanged
in interface FahArrowWidget.OnFahLegChangedListener
public void onTouchableChanged(FahArrowWidget arrow)
onTouchableChanged
in interface FahArrowWidget.OnTouchableChangedListener
public void onTargetChanged(FahArrowWidget arrow)
onTargetChanged
in interface FahArrowWidget.OnTargetPointChangedListener
public void onDesignatorChanged(FahArrowWidget arrow)
onDesignatorChanged
in interface FahArrowWidget.OnDesignatorPointChangedListener