gov.tak.platform.widgets.opengl.GLArcWidget
@Deprecated public class GLArcWidget extends GLShapeWidget implements ArcWidget.OnRadiusChangedListener, ArcWidget.OnCentralAngleChangedListener, ArcWidget.OnOffsetAngleChangedListener
Modifier and Type | Field and Description |
---|---|
static GLWidgetSpi |
SPI
Deprecated.
|
Constructor and Description |
---|
GLArcWidget(ArcWidget arc,
GLMapView orthoView)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
drawWidgetContent()
Deprecated.
Renders the widget content.
|
void |
onCentralAngleChanged(ArcWidget arc)
Deprecated.
|
void |
onOffsetAngleChanged(ArcWidget arc)
Deprecated.
|
void |
onRadiusChanged(ArcWidget arc)
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, onWidgetSizeChanged
drawStateFromFixedPipeline, drawWidget, getSubject, getSurface, getWidgetViewF, getX, getY, onVisibleChanged, onWidgetPointChanged, setX, setY, start, stop
public static final GLWidgetSpi SPI
public GLArcWidget(ArcWidget arc, GLMapView orthoView)
public void startObserving(MapWidget subject)
startObserving
in class GLShapeWidget
public void stopObserving(MapWidget subject)
stopObserving
in class GLShapeWidget
public void onRadiusChanged(ArcWidget arc)
onRadiusChanged
in interface ArcWidget.OnRadiusChangedListener
public void onCentralAngleChanged(ArcWidget arc)
onCentralAngleChanged
in interface ArcWidget.OnCentralAngleChangedListener
public void onOffsetAngleChanged(ArcWidget arc)
onOffsetAngleChanged
in interface ArcWidget.OnOffsetAngleChangedListener
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