gov.tak.platform.commons.graphics.Icon
@Deprecated
public class WidgetIcon
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
WidgetIcon.Builder
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG
Deprecated.
|
Constructor and Description |
---|
WidgetIcon(MapDataRef iconRef,
android.graphics.Point anchor,
int iconWidth,
int iconHeight)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
WidgetIcon |
clone()
Deprecated.
|
int |
getAnchorX()
Deprecated.
|
int |
getAnchorY()
Deprecated.
|
int |
getColor(int state)
Deprecated.
|
int |
getHeight()
Deprecated.
|
int |
getIconHeight()
Deprecated.
|
MapDataRef |
getIconRef(int state)
Deprecated.
|
int |
getIconWidth()
Deprecated.
|
java.lang.String |
getImageUri(int state)
Deprecated.
|
java.util.Set<java.lang.Integer> |
getStates()
Deprecated.
|
int |
getWidth()
Deprecated.
|
static WidgetIcon |
resolveWidgetIcon(ConfigEnvironment config,
java.lang.String iconUriString)
Deprecated.
|
public static final java.lang.String TAG
public WidgetIcon(MapDataRef iconRef, android.graphics.Point anchor, int iconWidth, int iconHeight)
public MapDataRef getIconRef(int state)
public final java.lang.String getImageUri(int state)
public final int getColor(int state)
public final java.util.Set<java.lang.Integer> getStates()
public int getAnchorX()
public int getAnchorY()
public int getIconWidth()
public int getIconHeight()
public final int getWidth()
public final int getHeight()
public WidgetIcon clone()
clone
in class java.lang.Object
public static WidgetIcon resolveWidgetIcon(ConfigEnvironment config, java.lang.String iconUriString) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException