Public Member Functions | |
TextWidget (String tag) | |
String | getText () |
void | setText (String text) |
Sets the text of the widget. More... | |
String | getTag () |
Returns tag of the widget given in constructor. More... | |
void | setOnSidebarActionListener (OnSidebarActionListener listener) |
Register a callback to be invoked when an action happens on this widget. More... | |
void | invokeOnSidebarActionCallback (int action, Bundle extras) |
This method shouldn't be called manually! More... | |
Static Public Attributes | |
static final int | EVENT_CLICKED = 1 |
TextWidget | ( | String | tag | ) |
|
inherited |
Returns tag of the widget given in constructor.
Referenced by Sidebar.setWidget().
String getText | ( | ) |
|
inherited |
This method shouldn't be called manually!
References OnSidebarActionListener.onSidebarAction().
|
inherited |
Register a callback to be invoked when an action happens on this widget.
listener | the callback that will run |
void setText | ( | String | text | ) |
Sets the text of the widget.
text |
|
static |