OsmAnd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Package Attributes
net.osmand.plus.views.TextInfoControl Class Reference
Inheritance diagram for net.osmand.plus.views.TextInfoControl:
net.osmand.plus.views.MapInfoControl

List of all members.

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

Constructor & Destructor Documentation

net.osmand.plus.views.TextInfoControl.TextInfoControl ( Context  ctx,
int  leftMargin,
Paint  textPaint,
Paint  subtextPaint 
)

Member Function Documentation

void net.osmand.plus.views.TextInfoControl.onDraw ( Canvas  cv) [protected]
void net.osmand.plus.views.TextInfoControl.onMeasure ( int  widthMeasureSpec,
int  heightMeasureSpec 
) [protected]
void net.osmand.plus.views.TextInfoControl.onWLayout ( int  w,
int  h 
) [protected]
void net.osmand.plus.views.TextInfoControl.setText ( String  text,
String  subtext 
)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines