gov.tak.platform.widgets.opengl.GLTextWidget
@Deprecated public class GLTextWidget extends GLWidget2 implements TextWidget.OnTextChangedListener, TextWidget.OnColorChangedListener, TextWidget.OnHasBackgroundChangedListener
Modifier and Type | Field and Description |
---|---|
protected int |
_background
Deprecated.
|
protected int[] |
_colorBuf
Deprecated.
|
protected int[] |
_colors
Deprecated.
|
protected MapTextFormat |
_mapTextFormat
Deprecated.
|
protected java.lang.String |
_text
Deprecated.
|
static GLWidgetSpi |
SPI
Deprecated.
|
Constructor and Description |
---|
GLTextWidget(TextWidget subject,
GLMapView orthoView)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
drawWidgetContent()
Deprecated.
Renders the widget content.
|
void |
onTextWidgetColorChanged(TextWidget widget)
Deprecated.
|
void |
onTextWidgetHasBackgroundChanged(TextWidget widget)
Deprecated.
|
void |
onTextWidgetTextChanged(TextWidget widget)
Deprecated.
|
void |
releaseWidget()
Deprecated.
Releases any resources allocated as a result of
GLWidget.drawWidgetContent() . |
void |
startObserving(MapWidget subject)
Deprecated.
|
void |
stopObserving(MapWidget subject)
Deprecated.
|
drawWidget, onWidgetSizeChanged
drawStateFromFixedPipeline, drawWidget, getSubject, getSurface, getWidgetViewF, getX, getY, onVisibleChanged, onWidgetPointChanged, setX, setY, start, stop
protected int _background
protected int[] _colors
protected int[] _colorBuf
protected MapTextFormat _mapTextFormat
protected java.lang.String _text
public static final GLWidgetSpi SPI
public GLTextWidget(TextWidget subject, GLMapView orthoView)
public void startObserving(MapWidget subject)
startObserving
in class GLWidget2
public void stopObserving(MapWidget subject)
stopObserving
in class GLWidget2
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
public void onTextWidgetColorChanged(TextWidget widget)
onTextWidgetColorChanged
in interface TextWidget.OnColorChangedListener
public void onTextWidgetTextChanged(TextWidget widget)
onTextWidgetTextChanged
in interface TextWidget.OnTextChangedListener
public void onTextWidgetHasBackgroundChanged(TextWidget widget)
onTextWidgetHasBackgroundChanged
in interface TextWidget.OnHasBackgroundChangedListener