public abstract class GLFixedItemCountWidget extends GLWidget implements FixedItemCountWidget.OnItemChangedListener, FixedItemCountWidget.OnItemStateChangedListener
Constructor and Description |
---|
GLFixedItemCountWidget(FixedItemCountWidget subject,
GLMapView orthoView) |
Modifier and Type | Method and Description |
---|---|
int |
getBackingColor(int index) |
protected GLImage |
getIconImage(int index)
MUST BE INVOKED ON GL THREAD !!!
|
int |
getItemState(int index) |
void |
onWidgetItemChanged(FixedItemCountWidget widget,
int index,
WidgetItem item) |
void |
onWidgetItemStateChanged(FixedItemCountWidget widget,
int index) |
void |
releaseWidget()
Releases any resources allocated as a result of
GLWidget.drawWidgetContent() . |
drawStateFromFixedPipeline, drawWidget, drawWidget, drawWidgetContent, getSubject, getSurface, getWidgetViewF, getX, getY, onVisibleChanged, onWidgetPointChanged, setX, setY, start, startObserving, stop, stopObserving
public GLFixedItemCountWidget(FixedItemCountWidget subject, GLMapView orthoView)
public void onWidgetItemChanged(FixedItemCountWidget widget, int index, WidgetItem item)
onWidgetItemChanged
in interface FixedItemCountWidget.OnItemChangedListener
public void onWidgetItemStateChanged(FixedItemCountWidget widget, int index)
onWidgetItemStateChanged
in interface FixedItemCountWidget.OnItemStateChangedListener
public int getBackingColor(int index)
protected GLImage getIconImage(int index)
public int getItemState(int index)
public void releaseWidget()
GLWidget
GLWidget.drawWidgetContent()
.
Must be invoked on GL render thread!
releaseWidget
in class GLWidget