public class

ActionBarItemView

extends LinearLayout
implements View.OnKeyListener ViewTreeObserver.OnGlobalLayoutListener PopupBubbleWindow.OnDismissListener
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.LinearLayout
         ↳ com.htc.widget.ActionBarItemView

Summary

Constants
int MODE_AUTOMOTIVE
int MODE_EXTERNAL
[Expand]
Inherited Constants
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.ViewGroup
From class android.view.View
Public Constructors
ActionBarItemView(Context context)
Public Methods
void addFooterView(View footerView)
void addHeaderView(View headerView)
void dismiss()
void dispatchDraw(Canvas canvas)
Drawable getIcon()
CharSequence getText()
boolean isBubbleWindowShow()
void onDismiss()
void onGlobalLayout()
boolean onKey(View view, int keyCode, KeyEvent event)
boolean onTouchEvent(MotionEvent event)
void setAdapter(BaseExpandableListAdapter adapter)
void setAdapter(ListAdapter adapter)
void setAnimationListener(Animation.AnimationListener listener)
void setEnabled(boolean enable)
void setIcon(Bitmap bitmap)
void setIcon(Drawable drawable)
void setIcon(int resource)
void setLayerType(int layerType, Paint paint)
void setMultiplyForceEnabled(boolean enable)
void setOnChildClickListener(HtcExpandableListView.OnChildClickListener listener)
void setOnDismissListener(PopupBubbleWindow.OnDismissListener listener)
void setOnGroupClickListener(HtcExpandableListView.OnGroupClickListener listener)
void setOnItemClickListener(HtcAdapterView.OnItemClickListener listener)
void setSupportMode(int mode)
void setText(String text)
void setText(int resource)
void show()
void showInternal()
Protected Methods
int measureContentWidth(BaseExpandableListAdapter adapter)
int measureContentWidth(ListAdapter adapter)
void onDetachedFromWindow()
void setMultiplyColor(int color)
void setViewScale(float ratio)
[Expand]
Inherited Methods
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.graphics.drawable.Drawable.Callback2
From interface android.view.HtcIfViewGroup
From interface android.view.KeyEvent.Callback
From interface android.view.View.OnKeyListener
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.ViewTreeObserver.OnGlobalLayoutListener
From interface android.view.accessibility.AccessibilityEventSource
From interface com.htc.widget.PopupBubbleWindow.OnDismissListener

Constants

public static final int MODE_AUTOMOTIVE

Since: API Level

Constant Value: 2 (0x00000002)

public static final int MODE_EXTERNAL

Since: API Level

Constant Value: 1 (0x00000001)

Public Constructors

public ActionBarItemView (Context context)

Since: API Level

Public Methods

public void addFooterView (View footerView)

Since: API Level

public void addHeaderView (View headerView)

Since: API Level

public void dismiss ()

Since: API Level

public void dispatchDraw (Canvas canvas)

Since: API Level

public Drawable getIcon ()

Since: API Level

public CharSequence getText ()

Since: API Level

public boolean isBubbleWindowShow ()

Since: API Level

public void onDismiss ()

Since: API Level

public void onGlobalLayout ()

Since: API Level

public boolean onKey (View view, int keyCode, KeyEvent event)

Since: API Level

public boolean onTouchEvent (MotionEvent event)

Since: API Level

public void setAdapter (BaseExpandableListAdapter adapter)

Since: API Level

public void setAdapter (ListAdapter adapter)

Since: API Level

public void setAnimationListener (Animation.AnimationListener listener)

Since: API Level

public void setEnabled (boolean enable)

Since: API Level

public void setIcon (Bitmap bitmap)

Since: API Level

public void setIcon (Drawable drawable)

Since: API Level

public void setIcon (int resource)

Since: API Level

public void setLayerType (int layerType, Paint paint)

Since: API Level

public void setMultiplyForceEnabled (boolean enable)

Since: API Level

public void setOnChildClickListener (HtcExpandableListView.OnChildClickListener listener)

Since: API Level

public void setOnDismissListener (PopupBubbleWindow.OnDismissListener listener)

Since: API Level

public void setOnGroupClickListener (HtcExpandableListView.OnGroupClickListener listener)

Since: API Level

public void setOnItemClickListener (HtcAdapterView.OnItemClickListener listener)

Since: API Level

public void setSupportMode (int mode)

Since: API Level

public void setText (String text)

Since: API Level

public void setText (int resource)

Since: API Level

public void show ()

Since: API Level

public void showInternal ()

Since: API Level

Protected Methods

protected int measureContentWidth (BaseExpandableListAdapter adapter)

Since: API Level

protected int measureContentWidth (ListAdapter adapter)

Since: API Level

protected void onDetachedFromWindow ()

Since: API Level

protected void setMultiplyColor (int color)

Since: API Level

protected void setViewScale (float ratio)

Since: API Level