public class GLMapFocusTextWidget extends GLTextWidget implements android.content.SharedPreferences.OnSharedPreferenceChangeListener
Modifier and Type | Field and Description |
---|---|
static GLWidgetSpi |
SPI |
_background, _colorBuf, _colors, _mapTextFormat, _text
Constructor and Description |
---|
GLMapFocusTextWidget(MapFocusTextWidget subject,
GLMapView ortho) |
Modifier and Type | Method and Description |
---|---|
void |
drawWidgetContent()
Renders the widget content.
|
void |
onSharedPreferenceChanged(android.content.SharedPreferences prefs,
java.lang.String key) |
void |
stopObserving(MapWidget subject) |
onTextWidgetColorChanged, onTextWidgetHasBackgroundChanged, onTextWidgetTextChanged, releaseWidget, startObserving
drawWidget, onWidgetSizeChanged
drawStateFromFixedPipeline, drawWidget, getSubject, getSurface, getWidgetViewF, getX, getY, onVisibleChanged, onWidgetPointChanged, setX, setY, start, stop
public static final GLWidgetSpi SPI
public GLMapFocusTextWidget(MapFocusTextWidget subject, GLMapView ortho)
public void stopObserving(MapWidget subject)
stopObserving
in class GLTextWidget
public void drawWidgetContent()
GLWidget
Must be invoked on GL render thread!
drawWidgetContent
in class GLTextWidget
public void onSharedPreferenceChanged(android.content.SharedPreferences prefs, java.lang.String key)
onSharedPreferenceChanged
in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener