gov.tak.platform.widgets.opengl.GLScaleWidget
@Deprecated public class GLScaleWidget extends GLShapeWidget implements ScaleWidget.OnTextChangedListener
Modifier and Type | Field and Description |
---|---|
static GLWidgetSpi |
SPI
Deprecated.
|
Constructor and Description |
---|
GLScaleWidget(ScaleWidget subject,
GLMapView orthoView)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
drawWidgetContent()
Deprecated.
Renders the widget content.
|
void |
onScaleTextChanged(ScaleWidget sw)
Deprecated.
|
void |
onWidgetSizeChanged(MapWidget2 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.
|
onStrokeColorChanged, onStrokeWeightChanged
drawWidget
drawStateFromFixedPipeline, drawWidget, getSubject, getSurface, getWidgetViewF, getX, getY, onVisibleChanged, onWidgetPointChanged, setX, setY, start, stop
public static final GLWidgetSpi SPI
public GLScaleWidget(ScaleWidget subject, GLMapView orthoView)
public void startObserving(MapWidget subject)
startObserving
in class GLShapeWidget
public void stopObserving(MapWidget subject)
stopObserving
in class GLShapeWidget
public void drawWidgetContent()
GLWidget
Must be invoked on GL render thread!
drawWidgetContent
in class GLWidget
public void onWidgetSizeChanged(MapWidget2 widget)
onWidgetSizeChanged
in interface MapWidget2.OnWidgetSizeChangedListener
onWidgetSizeChanged
in class GLWidget2
public void onScaleTextChanged(ScaleWidget sw)
onScaleTextChanged
in interface ScaleWidget.OnTextChangedListener
public void releaseWidget()
GLWidget
GLWidget.drawWidgetContent()
.
Must be invoked on GL render thread!
releaseWidget
in class GLWidget