mobi.voiceassistant.client.content
Class Bubble
java.lang.Object
mobi.voiceassistant.client.content.Bubble
- All Implemented Interfaces:
- Parcelable
public final class Bubble
- extends Object
- implements Parcelable
Method Summary |
Bubble |
addBubble(int viewId,
Bubble bubble)
|
View |
apply(Context context,
ViewGroup parent)
|
View |
apply(Context context,
ViewGroup parent,
Bubble container)
|
int |
describeContents()
|
Intent |
getListAdapter()
|
int |
getListViewId()
|
Bubble |
makeBubble(int viewId,
int layoutId)
|
Intent |
makeListAdapter(int viewId)
|
Intent |
makeListAdapter(int viewId,
Bundle extras)
|
PendingRequest.Builder |
makeOnBubbleClickRequest()
|
PendingRequest.Builder |
makeOnClickRequest(int viewId)
|
Bubble |
setImageViewBitmap(int viewId,
Bitmap bitmap)
|
Bubble |
setImageViewLevel(int viewId,
int level)
|
Bubble |
setImageViewResource(int viewId,
int srcId)
|
Bubble |
setListAdapter(int viewId,
Intent adapter)
|
Bubble |
setOnBubbleClickFillInIntent(Intent intent)
|
Bubble |
setOnBubbleClickRequest(PendingRequest.Builder request)
|
Bubble |
setOnClickFillInIntent(int viewId,
Intent intent)
|
void |
setOnClickListener(Bubble.OnClickListener listener)
|
Bubble |
setOnClickRequest(int viewId,
PendingRequest.Builder request)
|
Bubble |
setPendingIntentTemplate(PendingIntent intentTemplate)
|
Bubble |
setTextViewColor(int viewId,
int color)
|
Bubble |
setTextViewText(int viewId,
CharSequence text)
|
void |
setUri(Uri uri)
|
Bubble |
setViewBackgroundResource(int viewId,
int resId)
|
Bubble |
setViewVisibility(int viewId,
int visibility)
|
void |
writeToParcel(Parcel dest,
int flags)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CREATOR
public static final Parcelable.Creator<Bubble> CREATOR
Bubble
public Bubble(int layoutId)
Bubble
public Bubble(String layoutPackageName,
int layoutId)
setViewBackgroundResource
public Bubble setViewBackgroundResource(int viewId,
int resId)
setTextViewText
public Bubble setTextViewText(int viewId,
CharSequence text)
setImageViewBitmap
public Bubble setImageViewBitmap(int viewId,
Bitmap bitmap)
setImageViewResource
public Bubble setImageViewResource(int viewId,
int srcId)
setImageViewLevel
public Bubble setImageViewLevel(int viewId,
int level)
setTextViewColor
public Bubble setTextViewColor(int viewId,
int color)
setViewVisibility
public Bubble setViewVisibility(int viewId,
int visibility)
setUri
public void setUri(Uri uri)
setOnClickListener
public void setOnClickListener(Bubble.OnClickListener listener)
makeBubble
public Bubble makeBubble(int viewId,
int layoutId)
addBubble
public Bubble addBubble(int viewId,
Bubble bubble)
makeOnBubbleClickRequest
public PendingRequest.Builder makeOnBubbleClickRequest()
setOnBubbleClickRequest
public Bubble setOnBubbleClickRequest(PendingRequest.Builder request)
makeOnClickRequest
public PendingRequest.Builder makeOnClickRequest(int viewId)
setOnClickRequest
public Bubble setOnClickRequest(int viewId,
PendingRequest.Builder request)
setPendingIntentTemplate
public Bubble setPendingIntentTemplate(PendingIntent intentTemplate)
setOnBubbleClickFillInIntent
public Bubble setOnBubbleClickFillInIntent(Intent intent)
setOnClickFillInIntent
public Bubble setOnClickFillInIntent(int viewId,
Intent intent)
makeListAdapter
public Intent makeListAdapter(int viewId)
makeListAdapter
public Intent makeListAdapter(int viewId,
Bundle extras)
setListAdapter
public Bubble setListAdapter(int viewId,
Intent adapter)
getListViewId
public int getListViewId()
getListAdapter
public Intent getListAdapter()
describeContents
public int describeContents()
- Specified by:
describeContents
in interface Parcelable
writeToParcel
public void writeToParcel(Parcel dest,
int flags)
- Specified by:
writeToParcel
in interface Parcelable
apply
public View apply(Context context,
ViewGroup parent)
apply
public View apply(Context context,
ViewGroup parent,
Bubble container)