public class GLMarkerIconWidget extends GLWidget2 implements MarkerIconWidget.OnMarkerWidgetIconChangedListener, MarkerIconWidget.OnMarkerWidgetIconStateChangedListener, MarkerIconWidget.OnMarkerWidgetIconRotationChangedListener
Modifier and Type | Field and Description |
---|---|
static GLWidgetSpi |
SPI |
Constructor and Description |
---|
GLMarkerIconWidget(MarkerIconWidget iconWidget,
GLMapView orthoView) |
Modifier and Type | Method and Description |
---|---|
void |
drawWidgetContent()
Renders the widget content.
|
void |
onMarkerWidgetIconChanged(MarkerIconWidget iconWidget) |
void |
onMarkerWidgetIconRotationChanged(MarkerIconWidget iconWidget) |
void |
onMarkerWidgetStateChanged(MarkerIconWidget iconWidget) |
void |
releaseWidget()
Releases any resources allocated as a result of
GLWidget.drawWidgetContent() . |
void |
startObserving(MapWidget subject) |
void |
stopObserving(MapWidget subject) |
drawWidget, onWidgetSizeChanged
drawStateFromFixedPipeline, drawWidget, getSubject, getSurface, getWidgetViewF, getX, getY, onVisibleChanged, onWidgetPointChanged, setX, setY, start, stop
public static final GLWidgetSpi SPI
public GLMarkerIconWidget(MarkerIconWidget iconWidget, GLMapView orthoView)
public void startObserving(MapWidget subject)
startObserving
in class GLWidget2
public void stopObserving(MapWidget subject)
stopObserving
in class GLWidget2
public void onMarkerWidgetIconChanged(MarkerIconWidget iconWidget)
onMarkerWidgetIconChanged
in interface MarkerIconWidget.OnMarkerWidgetIconChangedListener
public void onMarkerWidgetStateChanged(MarkerIconWidget iconWidget)
onMarkerWidgetStateChanged
in interface MarkerIconWidget.OnMarkerWidgetIconStateChangedListener
public void onMarkerWidgetIconRotationChanged(MarkerIconWidget iconWidget)
onMarkerWidgetIconRotationChanged
in interface MarkerIconWidget.OnMarkerWidgetIconRotationChangedListener
public void drawWidgetContent()
GLWidget
Must be invoked on GL render thread!
drawWidgetContent
in class GLWidget
public void releaseWidget()
GLWidget
GLWidget.drawWidgetContent()
.
Must be invoked on GL render thread!
releaseWidget
in class GLWidget