public final class GLMapGroup2 extends java.lang.Object implements MapGroup.OnItemListChangedListener, MapGroup.OnGroupListChangedListener, MapGroup.OnVisibleChangedListener, GLMapItem2.OnVisibleChangedListener
Modifier and Type | Field and Description |
---|---|
static GLMapItemSpi3 |
DEFAULT_GLMAPITEM_SPI3 |
static java.lang.String |
TAG |
Constructor and Description |
---|
GLMapGroup2(MapRenderer surface,
GLQuadtreeNode2 renderer,
MapGroup subject) |
Modifier and Type | Method and Description |
---|---|
protected void |
_addAllToRenderer(java.util.Collection<GLMapItem2> items) |
protected void |
_addToRenderer(GLMapItem2 entry) |
protected void |
_deepAddToRenderer() |
protected void |
_deepRemoveFromRenderer(boolean permanent) |
protected void |
_removeAllFromRenderer(java.util.Collection<GLMapItem2> items) |
protected void |
_removeFromRenderer(GLMapItem2 item) |
void |
dispose() |
GLMapGroup2 |
getParentGroup() |
void |
onGroupAdded(MapGroup group,
MapGroup parent) |
void |
onGroupRemoved(MapGroup group,
MapGroup parent) |
void |
onGroupVisibleChanged(MapGroup group) |
void |
onItemAdded(MapItem item,
MapGroup group) |
void |
onItemRemoved(MapItem item,
MapGroup group) |
void |
onVisibleChanged(GLMapItem2 item,
boolean visible) |
void |
startObserving(MapGroup subject) |
void |
stopObserving(MapGroup group) |
public static final java.lang.String TAG
public static final GLMapItemSpi3 DEFAULT_GLMAPITEM_SPI3
public GLMapGroup2(MapRenderer surface, GLQuadtreeNode2 renderer, MapGroup subject)
public void startObserving(MapGroup subject)
public void onGroupAdded(MapGroup group, MapGroup parent)
onGroupAdded
in interface MapGroup.OnGroupListChangedListener
public void onGroupRemoved(MapGroup group, MapGroup parent)
onGroupRemoved
in interface MapGroup.OnGroupListChangedListener
public void onItemAdded(MapItem item, MapGroup group)
onItemAdded
in interface MapGroup.OnItemListChangedListener
public void onItemRemoved(MapItem item, MapGroup group)
onItemRemoved
in interface MapGroup.OnItemListChangedListener
public void onGroupVisibleChanged(MapGroup group)
onGroupVisibleChanged
in interface MapGroup.OnVisibleChangedListener
public void stopObserving(MapGroup group)
public void dispose()
public GLMapGroup2 getParentGroup()
protected void _deepAddToRenderer()
protected void _deepRemoveFromRenderer(boolean permanent)
protected void _addToRenderer(GLMapItem2 entry)
protected void _addAllToRenderer(java.util.Collection<GLMapItem2> items)
protected void _removeFromRenderer(GLMapItem2 item)
protected void _removeAllFromRenderer(java.util.Collection<GLMapItem2> items)
public void onVisibleChanged(GLMapItem2 item, boolean visible)
onVisibleChanged
in interface GLMapItem2.OnVisibleChangedListener