public class Indicator
extends java.lang.Object
Constructor and Description |
---|
Indicator(java.lang.String id)
Indicator constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Getter for the indicator id.
|
android.graphics.drawable.Drawable |
getImage()
Deprecated.
Use
getImage(Resources) instead |
android.graphics.drawable.Drawable |
getImage(android.content.res.Resources resources)
Getter for the indicator image.
|
boolean |
getImportant() |
java.lang.String |
getText()
Getter for the indicator text.
|
public Indicator(java.lang.String id)
id
- Indicator UUIDpublic java.lang.String getId()
public java.lang.String getText()
@Deprecated public android.graphics.drawable.Drawable getImage()
getImage(Resources)
insteadpublic android.graphics.drawable.Drawable getImage(android.content.res.Resources resources)
resources
- Android resources to ensure that the drawable has correctly set its target density.public boolean getImportant()