gov.tak.platform.widgets.opengl.GLAbstractParentWidget
@Deprecated public abstract class GLAbstractParentWidget extends GLWidget2 implements AbstractParentWidget.OnWidgetListChangedListener
Modifier and Type | Field and Description |
---|---|
protected java.util.SortedMap<java.lang.Integer,GLWidget> |
_children
Deprecated.
|
Constructor and Description |
---|
GLAbstractParentWidget(AbstractParentWidget subject,
GLMapView orthoView)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
drawWidgetContent()
Deprecated.
Renders the widget content.
|
protected java.util.List<GLWidget> |
getChildren()
Deprecated.
|
void |
onWidgetAdded(AbstractParentWidget parent,
int index,
MapWidget child)
Deprecated.
|
void |
onWidgetRemoved(AbstractParentWidget parent,
int index,
MapWidget child)
Deprecated.
|
void |
releaseWidget()
Deprecated.
Releases any resources allocated as a result of
GLWidget.drawWidgetContent() . |
void |
startObserving(MapWidget subject)
Deprecated.
|
void |
stopObserving(MapWidget subject)
Deprecated.
|
drawWidget, onWidgetSizeChanged
drawStateFromFixedPipeline, drawWidget, getSubject, getSurface, getWidgetViewF, getX, getY, onVisibleChanged, onWidgetPointChanged, setX, setY, start, stop
protected final java.util.SortedMap<java.lang.Integer,GLWidget> _children
public GLAbstractParentWidget(AbstractParentWidget subject, GLMapView orthoView)
public void startObserving(MapWidget subject)
startObserving
in class GLWidget2
public void stopObserving(MapWidget subject)
stopObserving
in class GLWidget2
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
public void onWidgetAdded(AbstractParentWidget parent, int index, MapWidget child)
onWidgetAdded
in interface AbstractParentWidget.OnWidgetListChangedListener
public void onWidgetRemoved(AbstractParentWidget parent, int index, MapWidget child)
onWidgetRemoved
in interface AbstractParentWidget.OnWidgetListChangedListener
protected java.util.List<GLWidget> getChildren()