OsmAnd
|
Public Member Functions | |
TextInfoControl (Context ctx, int leftMargin, Paint textPaint, Paint subtextPaint) | |
void | setImageDrawable (Drawable imageDrawable) |
Drawable | getImageDrawable () |
void | setText (String text, String subtext) |
boolean | isVisible () |
boolean | updateInfo () |
Protected Member Functions | |
void | onWLayout (int w, int h) |
void | onMeasure (int widthMeasureSpec, int heightMeasureSpec) |
void | onDraw (Canvas cv) |
Package Attributes | |
String | text |
Paint | textPaint |
String | subtext |
Paint | subtextPaint |
int | leftMargin = 0 |
net.osmand.plus.views.TextInfoControl.TextInfoControl | ( | Context | ctx, |
int | leftMargin, | ||
Paint | textPaint, | ||
Paint | subtextPaint | ||
) |
boolean net.osmand.plus.views.TextInfoControl.isVisible | ( | ) |
void net.osmand.plus.views.TextInfoControl.onDraw | ( | Canvas | cv | ) | [protected] |
Reimplemented from net.osmand.plus.views.MapInfoControl.
void net.osmand.plus.views.TextInfoControl.onMeasure | ( | int | widthMeasureSpec, |
int | heightMeasureSpec | ||
) | [protected] |
void net.osmand.plus.views.TextInfoControl.onWLayout | ( | int | w, |
int | h | ||
) | [protected] |
Reimplemented from net.osmand.plus.views.MapInfoControl.
void net.osmand.plus.views.TextInfoControl.setImageDrawable | ( | Drawable | imageDrawable | ) |
void net.osmand.plus.views.TextInfoControl.setText | ( | String | text, |
String | subtext | ||
) |
boolean net.osmand.plus.views.TextInfoControl.updateInfo | ( | ) |
Reimplemented from net.osmand.plus.views.MapInfoControl.
int net.osmand.plus.views.TextInfoControl.leftMargin = 0 [package] |
String net.osmand.plus.views.TextInfoControl.subtext [package] |
Paint net.osmand.plus.views.TextInfoControl.subtextPaint [package] |
String net.osmand.plus.views.TextInfoControl.text [package] |
Paint net.osmand.plus.views.TextInfoControl.textPaint [package] |