public class Overlay
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Overlay.OnFriendlyNameChangedListener |
static interface |
Overlay.OnIconResourceIdChangedListener |
static interface |
Overlay.OnUnitCountChangedListener |
static interface |
Overlay.OnVisibleChangedListener |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
Overlay(OverlayService manager,
java.lang.String overlayId) |
public static final java.lang.String TAG
public Overlay(OverlayService manager, java.lang.String overlayId)
public java.lang.String getOverlayId()
public void setVisible(boolean visible)
public void setIconUri(java.lang.String iconUri)
public void setFriendlyName(java.lang.String friendlyName)
public void setUnitCount(int unitCount)
public void setOrder(java.lang.String order)
public void incrementUnitCount(int count)
public java.lang.String getIconUri()
public boolean getVisible()
public java.lang.String getFriendlyName()
public int getUnitCount()
public int getOrder()
public void addOnVisibleChangedListener(Overlay.OnVisibleChangedListener listener)
public void removeOnVisibleChangedListener(Overlay.OnVisibleChangedListener listener)
public void addOnIconResourceIdChangedListener(Overlay.OnIconResourceIdChangedListener l)
public void removeOnIconResourceIdChangedListener(Overlay.OnIconResourceIdChangedListener l)
protected void onVisibleChanged()
protected void onIconUriChanged()
protected void onFriendlyNameChanged()
protected void onUnitCountChanged()
public void addOnFriendlyNameChangedListener(Overlay.OnFriendlyNameChangedListener l)
public void removeOnFriendlyNameChangedListener(Overlay.OnFriendlyNameChangedListener l)
public void addOnUnitCountChangedListener(Overlay.OnUnitCountChangedListener l)
public void removeOnUnitCountChangedListener(Overlay.OnUnitCountChangedListener l)