gov.tak.platform.widgets.opengl.GLRadialButtonWidget
@Deprecated public class GLRadialButtonWidget extends GLAbstractButtonWidget implements RadialButtonWidget.OnSizeChangedListener, RadialButtonWidget.OnOrientationChangedListener
Modifier and Type | Field and Description |
---|---|
static GLWidgetSpi |
SPI
Deprecated.
|
_anchorx, _anchory, _bgColor, _glText, _iconColor, _iconHeight, _iconWidth, _image, _imageEntry, _textDirty, _textValue
Constructor and Description |
---|
GLRadialButtonWidget(RadialButtonWidget subject,
GLMapView orthoView)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
_updateIconRef(java.lang.String uri)
Deprecated.
|
void |
drawButtonBackground(int bgColor)
Deprecated.
|
void |
drawButtonIcon(int iconColor,
GLImage iconImage)
Deprecated.
|
void |
drawButtonText(GLText glText,
java.lang.String _textValue)
Deprecated.
|
void |
onRadialButtonOrientationChanged(RadialButtonWidget button)
Deprecated.
|
void |
onRadialButtonSizeChanged(RadialButtonWidget button)
Deprecated.
|
void |
releaseWidget()
Deprecated.
Releases any resources allocated as a result of
GLWidget.drawWidgetContent() . |
void |
startObserving(MapWidget subject)
Deprecated.
|
void |
stopObserving(MapWidget subject)
Deprecated.
|
drawWidgetContent, onButtonBackgroundChanged, onButtonIconChanged, onButtonStateChanged, onButtonTextChanged
drawStateFromFixedPipeline, drawWidget, drawWidget, getSubject, getSurface, getWidgetViewF, getX, getY, onVisibleChanged, onWidgetPointChanged, setX, setY, start, stop
public static final GLWidgetSpi SPI
public GLRadialButtonWidget(RadialButtonWidget subject, GLMapView orthoView)
public void startObserving(MapWidget subject)
startObserving
in class GLAbstractButtonWidget
public void stopObserving(MapWidget subject)
stopObserving
in class GLAbstractButtonWidget
public void drawButtonBackground(int bgColor)
drawButtonBackground
in class GLAbstractButtonWidget
public void drawButtonIcon(int iconColor, GLImage iconImage)
drawButtonIcon
in class GLAbstractButtonWidget
public void drawButtonText(GLText glText, java.lang.String _textValue)
drawButtonText
in class GLAbstractButtonWidget
_textValue
- the localized button textpublic void onRadialButtonSizeChanged(RadialButtonWidget button)
onRadialButtonSizeChanged
in interface RadialButtonWidget.OnSizeChangedListener
public void onRadialButtonOrientationChanged(RadialButtonWidget button)
onRadialButtonOrientationChanged
in interface RadialButtonWidget.OnOrientationChangedListener
protected void _updateIconRef(java.lang.String uri)
_updateIconRef
in class GLAbstractButtonWidget
public void releaseWidget()
GLWidget
GLWidget.drawWidgetContent()
.
Must be invoked on GL render thread!
releaseWidget
in class GLAbstractButtonWidget