public abstract class

ActionBarItem

extends Object
java.lang.Object
   ↳ greendroid.widget.ActionBarItem
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Base class representing an ActionBarItem used in ActionBars. The base implementation exposes a single Drawable as well as a content description.

Summary

Nested Classes
enum ActionBarItem.Type The Type specifies a large set of pre-defined ActionBarItems that may be added to an ActionBar
Fields
protected ActionBar mActionBar
protected CharSequence mContentDescription
protected Context mContext
protected Drawable mDrawable
protected View mItemView
Public Constructors
ActionBarItem()
Public Methods
CharSequence getContentDescription()
Drawable getDrawable()
int getItemId()
View getItemView()
ActionBarItem setContentDescription(int contentDescriptionId)
ActionBarItem setContentDescription(CharSequence contentDescription)
ActionBarItem setDrawable(Drawable drawable)
ActionBarItem setDrawable(int drawableId)
Protected Methods
abstract View createItemView()
void onContentDescriptionChanged()
void onDrawableChanged()
void onItemClicked()
void prepareItemView()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected ActionBar mActionBar

protected CharSequence mContentDescription

protected Context mContext

protected Drawable mDrawable

protected View mItemView

Public Constructors

public ActionBarItem ()

Public Methods

public CharSequence getContentDescription ()

public Drawable getDrawable ()

public int getItemId ()

public View getItemView ()

public ActionBarItem setContentDescription (int contentDescriptionId)

public ActionBarItem setContentDescription (CharSequence contentDescription)

public ActionBarItem setDrawable (Drawable drawable)

public ActionBarItem setDrawable (int drawableId)

Protected Methods

protected abstract View createItemView ()

protected void onContentDescriptionChanged ()

protected void onDrawableChanged ()

protected void onItemClicked ()

protected void prepareItemView ()