gov.tak.platform.widgets.opengl.GLScrollLayoutWidget
@Deprecated public class GLScrollLayoutWidget extends GLLinearLayoutWidget implements ScrollLayoutWidget.OnScrollChangedListener
Modifier and Type | Field and Description |
---|---|
protected float |
_scroll
Deprecated.
|
protected ScrollLayoutWidget |
_subject
Deprecated.
|
static GLWidgetSpi |
SPI
Deprecated.
|
_childrenHeight, _childrenWidth, _gravity, _orientation
_backingColor, _ninePatchBG
_children
Constructor and Description |
---|
GLScrollLayoutWidget(ScrollLayoutWidget subject,
GLMapView ortho)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
drawChildren(float xOffset,
float yOffset)
Deprecated.
|
void |
drawWidgetContent()
Deprecated.
Renders the widget content.
|
void |
onScrollChanged(ScrollLayoutWidget layout,
float scroll)
Deprecated.
|
void |
startObserving(MapWidget subject)
Deprecated.
|
void |
stopObserving(MapWidget subject)
Deprecated.
|
onWidgetSizeChanged
drawBacking, onBackingColorChanged
getChildren, onWidgetAdded, onWidgetRemoved, releaseWidget
drawWidget
drawStateFromFixedPipeline, drawWidget, getSubject, getSurface, getWidgetViewF, getX, getY, onVisibleChanged, onWidgetPointChanged, setX, setY, start, stop
public static final GLWidgetSpi SPI
protected final ScrollLayoutWidget _subject
protected float _scroll
public GLScrollLayoutWidget(ScrollLayoutWidget subject, GLMapView ortho)
public void startObserving(MapWidget subject)
startObserving
in class GLLayoutWidget
public void stopObserving(MapWidget subject)
stopObserving
in class GLLayoutWidget
public void drawWidgetContent()
GLWidget
Must be invoked on GL render thread!
drawWidgetContent
in class GLLinearLayoutWidget
protected void drawChildren(float xOffset, float yOffset)
drawChildren
in class GLLinearLayoutWidget
public void onScrollChanged(ScrollLayoutWidget layout, float scroll)
onScrollChanged
in interface ScrollLayoutWidget.OnScrollChangedListener