gov.tak.platform.widgets.opengl.GLButtonWidget
@Deprecated public class GLButtonWidget extends GLAbstractButtonWidget implements ButtonWidget.OnSizeChangedListener
Modifier and Type | Field and Description |
---|---|
static GLWidgetSpi |
SPI
Deprecated.
|
_anchorx, _anchory, _bgColor, _glText, _iconColor, _iconHeight, _iconWidth, _image, _imageEntry, _textDirty, _textValue
Constructor and Description |
---|
GLButtonWidget(ButtonWidget subject,
GLMapView orthoView)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
drawButtonBackground(int bgColor)
Deprecated.
|
void |
drawButtonIcon(int iconColor,
GLImage image)
Deprecated.
|
void |
drawButtonText(GLText _glText,
java.lang.String _textValue)
Deprecated.
|
void |
onButtonSizeChanged(ButtonWidget button)
Deprecated.
|
_updateIconRef, drawWidgetContent, onButtonBackgroundChanged, onButtonIconChanged, onButtonStateChanged, onButtonTextChanged, releaseWidget, startObserving, stopObserving
drawStateFromFixedPipeline, drawWidget, drawWidget, getSubject, getSurface, getWidgetViewF, getX, getY, onVisibleChanged, onWidgetPointChanged, setX, setY, start, stop
public static final GLWidgetSpi SPI
public GLButtonWidget(ButtonWidget subject, GLMapView orthoView)
public void onButtonSizeChanged(ButtonWidget button)
onButtonSizeChanged
in interface ButtonWidget.OnSizeChangedListener
public void drawButtonBackground(int bgColor)
drawButtonBackground
in class GLAbstractButtonWidget
public void drawButtonText(GLText _glText, java.lang.String _textValue)
drawButtonText
in class GLAbstractButtonWidget
_textValue
- the localized button textpublic void drawButtonIcon(int iconColor, GLImage image)
drawButtonIcon
in class GLAbstractButtonWidget